Commit Graph

430 Commits

Author SHA1 Message Date
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
Nick Sweeting
b141958455 Merge branch 'main' into hot-fix/file-upload 2025-06-16 11:25:17 -07:00
Nick Sweeting
8a9b69420c Merge branch 'main' into more-fixes 2025-06-13 17:10:40 -07:00
Nick Sweeting
531527b83f fix parallel_agents example 2025-06-13 16:52:44 -07:00
Saurav Panda
4b0cdec738 fix: remove non-functional save_recording_path parameter
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.
2025-06-10 19:07:44 -07:00
Magnus Müller
95a7856e1e Update task description and streamline main execution in llama4-groq.py
Modified the task variable to focus on finding the founders of browser-use, enhancing the relevance of the prompt. Removed the loop in the main execution to simplify the code structure, allowing for a more straightforward asynchronous run of the main function.
2025-06-10 23:06:20 +02:00
Nick Sweeting
9259deaf7f vastly improve examples/browser/multiple_agents_same_browser.py 2025-06-10 02:11:37 -07:00
Nick Sweeting
de17b02f4a vastly improve examples/browser/multiple_agents_same_browser.py 2025-06-10 02:11:14 -07: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
52d4191ba9 Merge branch 'main' into mert/new_everything 2025-06-07 17:58:09 +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
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
Magnus Müller
aec9fd29a3 Merge branch 'main' into mert/new_everything 2025-06-03 19:59:17 +02:00
Magnus Müller
17c1146182 Refactor llama4-groq example script to improve readability and maintainability by commenting out unused ChatGroq integration and restructuring agent initialization. 2025-06-02 14:43:11 +02:00
Magnus Müller
de163e4a75 Add Groq support in logging configuration and introduce llama4-groq example script 2025-06-02 14:19:01 +02: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