Commit Graph

65 Commits

Author SHA1 Message Date
Nick Sweeting
aad78d93ab more type hint fixes 2025-06-21 05:44:49 -07:00
Nick Sweeting
6c695d0a42 more lint and hint fixes 2025-06-21 05:39:17 -07:00
Nick Sweeting
f878b8f07c type hint fixes 2025-06-21 05:16:02 -07:00
Nick Sweeting
80298332db Merge branch 'main' into mistral_example 2025-06-21 02:19:58 -07:00
Magnus Müller
90ae26316e Refactor ActionResult to standardize the inclusion of extracted content, replacing update_only_read_state with include_extracted_content_only_once across multiple services. This change enhances clarity in memory management and ensures consistent handling of extracted content. 2025-06-19 23:18:30 +02:00
Magnus Müller
ce880e5e35 Refactor ActionResult handling across multiple services to standardize the use of long_term_memory, replacing memory references. Update related logic to ensure extracted content is consistently managed for improved clarity and error handling. 2025-06-19 23:11:55 +02:00
Magnus Müller
0b6ebea431 Merge branch 'main' into mert/new_everything 2025-06-19 09:49:43 +02:00
mertunsall
0c34c399db Merge branch 'main' into mert/new_everything 2025-06-17 11:19:06 +02:00
yasithdev
8ea4b4c71a centralize playwright/patchwright imports, and update typing/checks to reduce lint errors 2025-06-16 22:57:20 -04:00
Magnus Müller
c48d83f54d Refactor web search functionality to improve SERP API integration. Updated action description for clarity, streamlined data handling by excluding unnecessary fields, and enhanced logging for debugging. Returns only relevant organic search results. 2025-06-09 15:38:19 +02:00
Magnus Müller
a63752b504 Update task description in file_upload.py: Revert task string to previous URL for file upload instructions, ensuring clarity in the upload process. 2025-06-06 23:40:37 +02:00
Magnus Müller
ba7ac0c9d2 Refactor file upload process in file_upload.py: Removed BrowserProfile initialization, streamlined BrowserSession usage, and updated task description for clarity. 2025-06-06 23:19:54 +02:00
derekmeegan
7e141a9058 add mistral example with shebang 2025-06-03 12:36:40 -04:00
BroskyBrowser
000ee0d262 chore: linting + ignore .venv folders 2025-05-27 12:23:19 +02:00
BroskyBrowser
0997c0d46c chore: linting + ignore .venv folders 2025-05-27 12:18:26 +02:00
Nick Sweeting
f19adf9bb3 remove dead code, cleanup examples and tests 2025-05-26 18:37:52 -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
Magnus Müller
8a5f7a5ead Refactor perplexity search to use httpx for asynchronous requests
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.
2025-05-25 16:46:08 +02:00
Magnus Müller
18d1c0d895 Add perplexity search functionality with API integration
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.
2025-05-25 16:17:38 +02:00
BroskyBrowser
7db5794bbe fix: fixed wildcard subdomain in action definition 2025-05-25 15:18:22 +02:00
BroskyBrowser
3db45ebd20 fix: improved amazon captcha solver solution check 2025-05-25 15:08:38 +02:00
Nick Sweeting
addeb56f8c add new param optimization test 2025-05-25 03:50:02 -07:00
BroskyBrowser
516e79c225 fix: handle error solving captcha 2025-05-24 18:29:06 +02:00
BroskyBrowser
005475acf6 feat: added amazon captcha solver action example 2025-05-24 16:48:12 +02:00
Evgeny Kim
5da261310b Improve file upload detection 2025-05-23 13:05:06 +02:00
Nick Sweeting
22bf1c30c6 Merge branch 'main' into bug-bash 2025-05-23 01:40:58 -07:00
Magnus Müller
9021e83c15 Update advanced_search.py to change include_in_memory parameter to False in ActionResult and modify task description for concurrent processing of search queries. 2025-05-21 13:02:22 +02:00
Magnus Müller
18c13bda26 Refactor advanced_search.py to use SERP API for web search and improve error handling for API keys. Added logging for debugging and updated agent initialization with BrowserProfile. 2025-05-21 12:20:51 +02:00
yasithdev
b491c87144 fix few bugs due to api changes, conditional logics, and null type-checks 2025-05-21 01:38:04 -05:00
Nick Sweeting
63382d8bfc update examples to use new BrowserProfile and BrowserSession 2025-05-20 02:32:43 -07:00
Nick Sweeting
f17cf4de75 linter fixes 2025-05-13 17:25:08 -07:00
Nick Sweeting
bfcd8a0140 make examples imports more consistent 2025-05-13 17:18:09 -07:00
Nick Sweeting
96682d8910 switch back from patchright to playwright until issues are resolved 2025-05-09 18:14:07 -07:00
Nick Sweeting
23252192a0 remove non-functional group tabs code 2025-05-04 19:40:27 +08:00
Nick Sweeting
2be4ba4f70 more pyupgrade changes 2025-05-02 20:50:21 +08:00
Anirudha619
2cea6aef79 run pre-commit 2025-04-25 23:42:23 +05:30
lynn
192b42ff79 chore: replace playwright with patchright 2025-04-22 15:43:01 +08:00
Christian Clauss
fb3282527d Detect blocking synchronous commands in asyncio code 2025-04-21 22:30:43 +02:00
Christian Clauss
e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting
bf1afd9422 add example of getting 2FA code from 1password 2025-03-30 16:23:53 -07:00
Nick Sweeting
fb6fa259a8 apply ruff safe fixes 2025-03-28 18:11:36 -07:00
Nick Sweeting
e85e8f468d add more pre-commit-hooks 2025-03-28 17:15:10 -07:00
Nick Sweeting
226eb99a4f Merge branch 'main' into ruff-linting 2025-03-28 15:44:47 -07:00
Nick Sweeting
e2e278da95 fix syntax errors 2025-03-28 15:39:31 -07:00
Nick Sweeting
ec56bfe81b run ruff on the entire codebase 2025-03-28 01:22:48 -07:00
Nick Sweeting
4df0b368d6 add docstring explaining action filters 2025-03-28 00:46:54 -07:00
Nick Sweeting
4928e2857b improve the action_filters example 2025-03-28 00:46:53 -07:00
Nick Sweeting
41a63c2298 add example demonstrating new feature 2025-03-27 19:08:13 -07:00
Carlos Andrés Planchón Prestes
611b49ee1f Import fix on custom_hooks_before_after_step.py example. 2025-03-27 20:59:07 -03:00
Carlos Andrés Planchón Prestes
36fb264e40 Adding custom_hooks_before_after_step.py example. 2025-03-27 19:53:36 -03:00