Commit Graph

8 Commits

Author SHA1 Message Date
Magnus Müller
caa0e7ef1b Rename controller to tools instances 2025-08-26 11:30:39 -07:00
Magnus Müller
2a83442f17 Rename Controller to Tools 2025-08-26 11:04:16 -07:00
Magnus Müller
1c8e78ac77 simlify ChatOpenAI import 2025-08-18 19:45:02 -07:00
Magnus Müller
1d34d2ed22 custom-functions examples 2025-08-18 18:51:58 -07:00
mertunsall
220f0bc994 update models to gpt-4.1 2025-07-05 10:32:49 +02:00
Gregor Žunič
7a10ae0c96 Squashed commit langchain to native 2025-06-24 12:26:55 +02:00
Nick Sweeting
6c695d0a42 more lint and hint fixes 2025-06-21 05:39:17 -07:00
Magnus Müller
6a5c0b61f2 Add 2FA functionality using pyotp in a new script
This commit introduces a new script, `2fa.py`, which implements a custom action to retrieve 2FA/MFA codes using the `pyotp` library. The action extracts the OTP secret key from an environment variable and generates a time-based one-time password. Additionally, the script includes an example task demonstrating how to use the 2FA action within an agent-based workflow.

### Key Changes:
- New file `examples/custom-functions/2fa.py` added.
- Custom action `get_otp_2fa` to generate 2FA codes.
- Example usage of the action in an asynchronous context.

This addition enhances the functionality of the agent system by providing secure 2FA code retrieval capabilities.
2025-05-25 18:10:00 +02:00