fix: remove non-functional save_recording_path parameter
- Remove save_recording_path field from BrowserProfile class
- Remove documentation for save_recording_path parameter
- Add migration note directing users to use record_video_dir instead
The save_recording_path parameter was defined in BrowserProfile but never actually
processed by the browser launch methods. Users should use the standard Playwright
record_video_dir parameter instead, which is properly implemented and functional.
Fixes user reports of video recording not working when using save_recording_path.
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.
This update replaces the synchronous requests library with httpx for making asynchronous API calls in the perplexity search function. The change improves performance and error handling by utilizing async capabilities, ensuring better integration with the overall asynchronous architecture.
This commit introduces a new script for searching the web using the Perplexity API. It includes the definition of data models for handling person information, an asynchronous search function, and a main execution flow that retrieves and displays email addresses for specified individuals. The script also incorporates error handling for missing API keys.