Commit Graph

411 Commits

Author SHA1 Message Date
Nick Sweeting
767a75e2bf rename downloads_dir to downloads_path 2025-06-05 02:17:57 -07:00
Nick Sweeting
3c1e2a59d1 remove save_playwright_script_path entirely 2025-06-05 02:06:23 -07:00
Nick Sweeting
1580ed6e8b more formatting 2025-06-03 16:03:12 -07:00
Nick Sweeting
a33bd7eea5 bump dependency versions 2025-06-03 16:03:08 -07:00
Nick Sweeting
ff791997af Fix available vector providers, local logic, and example (#1858) 2025-05-31 17:00:04 -07:00
EnzoFanAccount
6477fca147 Fix vector providers and example 2025-05-29 20:45:06 -03:00
Nick Sweeting
a85ae8ca3c merge save_downloads_path and downloads_dir duplicate options 2025-05-29 14:51:21 -07:00
Nick Sweeting
24d8da5f72 Add chess example (#1854) 2025-05-29 12:56:33 -07:00
derekmeegan
37539938d5 fix: mark play_chess.py executable so pre‑commit passes 2025-05-29 15:08:35 -04:00
Derek
851f22cb8d Update examples/use-cases/play_chess.py
Co-authored-by: Nick Sweeting <github@sweeting.me>
2025-05-29 14:58:10 -04:00
derekmeegan
74b18d83cb resolve cubic errors for move_str and square size calculation 2025-05-29 12:06:10 -04:00
derekmeegan
2da90c0e97 add code style changes 2025-05-29 11:52:00 -04:00
derekmeegan
f3d75dc99d add chess example 2025-05-29 11:48:03 -04:00
BroskyBrowser
c145e52adb Merge branch 'main' into feat/add-amazon-captcha-solver-example 2025-05-28 11:36:54 +02:00
Nick Sweeting
d546c3d8bd move multiple agents example into browser dir 2025-05-27 22:31:32 -07: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
47f24f6b10 more comments 2025-05-26 18:40:40 -07:00
Nick Sweeting
f19adf9bb3 remove dead code, cleanup examples and tests 2025-05-26 18:37:52 -07:00
Nick Sweeting
241b4e076b fix examples issues 2025-05-26 03:43:17 -07:00
Nick Sweeting
768aec87b8 update ipdb notebook examples 2025-05-25 14:57:32 -07:00
Nick Sweeting
ef49ec1682 more examples updating 2025-05-25 14:44:29 -07:00
Nick Sweeting
7939f4522a updating more browser examples 2025-05-25 14:33:09 -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
Nick Sweeting
a5b99f9b7f fix re-use of BrowserSession between agents by copying on Agent init 2025-05-25 06:38:43 -07: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
2328986236 fix BrowserSession init on reuse case 2025-05-25 06:00:25 -07:00
Nick Sweeting
ee62541042 Merge branch 'main' into docs-improvements 2025-05-25 03:50:55 -07:00
Nick Sweeting
addeb56f8c add new param optimization test 2025-05-25 03:50:02 -07:00
2pac
ac1e8f5471 ruff format 2025-05-24 19:35:25 +02:00
2pac
dd23030bc5 cubic comments 2025-05-24 19:33:37 +02:00
2pac
9200d1f197 ran ruff 2025-05-24 19:27:44 +02:00
2pac
6a5b6ead1b fix: Binding already registered issue on follow-up task 2025-05-24 19:26:21 +02: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
Nick Sweeting
f8967a12f4 reuse patchright instance 2025-05-23 18:36:09 -07:00
Nick Sweeting
7540fdbf71 fix string math error 2025-05-23 18:34:36 -07:00
Nick Sweeting
ba85963c45 merge browser_viewport tests into single example 2025-05-23 18:21:19 -07:00
Nick Sweeting
3a86fac15f minor comments and logging improvements 2025-05-23 18:21:18 -07:00
Nick Sweeting
1883091204 Improve file upload detection (#1759) 2025-05-23 06:51:20 -07:00
Enzo Biondo
2c7b718767 Merge branch 'main' into docs/document-memory-customizability 2025-05-23 09:04:13 -03:00
Evgeny Kim
5da261310b Improve file upload detection 2025-05-23 13:05:06 +02:00
EnzoFanAccount
b303568164 lint example 2025-05-23 07:56:04 -03:00
EnzoFanAccount
1a90fc4d60 Add example script 2025-05-23 07:43:55 -03:00
Nick Sweeting
5410fd5664 improve google sheets example prompt 2025-05-23 03:31:58 -07:00
Nick Sweeting
22bf1c30c6 Merge branch 'main' into bug-bash 2025-05-23 01:40:58 -07:00
Nick Sweeting
9032787752 add stagehand back and forth example 2025-05-23 01:37:36 -07:00