Commit Graph

867 Commits

Author SHA1 Message Date
avocardio edf1e58b5a Updated base prompt to handle multi-line content 2025-09-11 19:49:21 -07:00
avocardio f2ae789efc Update prompt 2025-09-11 10:56:27 -07:00
avocardio 7096abbffd Added new demo video 2025-09-11 10:45:36 -07:00
avocardio 16f042fc33 Updated core files (works) 2025-09-11 10:42:17 -07:00
avocardio b8165e0f2b Update news-use and vibetest-use documentation for API key and setup instructions 2025-09-11 09:17:49 -07:00
avocardio 5bca1d60ed Msg-Use docs 2025-09-11 09:06:01 -07:00
avocardio 123ac79dd4 Add news-use demo: News monitoring agent with sentiment analysis 2025-09-10 21:58:58 -07:00
avocardio 83677c13ae Update README
fix: ad-use readme
2025-09-10 11:51:48 -07:00
avocardio 457f7ba99a Modify README to add license and remove source code
Updated README to include license information and remove source code section.
2025-09-09 19:13:13 -07:00
avocardio c6a47dbf70 Update return type of generate_ad_image method 2025-09-09 14:16:19 -07:00
avocardio 0cdfa9962b Cubic 2025-09-09 14:09:21 -07:00
avocardio d0be266191 Fix windows subprocess 2025-09-09 14:03:07 -07:00
avocardio 59d9c5011b Lint error & README 2025-09-09 13:18:24 -07:00
avocardio fff445dc63 more lint changes 2025-09-09 12:53:32 -07:00
avocardio 15d7d23171 Add ad-use demo 2025-09-08 22:15:21 -07:00
Cyrus 9d7dfd7738 replace aiofiles with anyio.Path 2025-09-08 11:37:34 -06:00
yrk 4e1386fe3c Lint 2025-09-08 15:16:42 +08:00
yrk 7cb955c214 Modify sample code 2025-09-08 14:41:41 +08:00
Magnus Müller 6963484a5f update gradio example 2025-09-07 20:20:42 -07:00
yrk cb578204e6 resolve merge conflicts with main 2025-09-08 11:03:47 +08:00
Magnus Müller 5ccdfa96bf improve ollama installation 2025-09-07 19:25:37 -07:00
Magnus Müller fad088048e Update docs 2025-09-07 18:27:30 -07:00
Magnus Müller 4fda18a564 add if main check to qwen example 2025-09-07 17:02:46 -07:00
Magnus Müller 1380b1e903 qwen support 2025-09-07 16:25:15 -07:00
Magnus Müller 495804389c Refactor download_file example to use updated Browser class
This commit modifies the `download_file.py` example to replace the `BrowserSession` and `BrowserProfile` with the new `Browser` class. The changes streamline the code and enhance clarity by directly utilizing the `Browser` for managing downloads. The download path remains set to a temporary directory for testing purposes.
2025-09-06 15:56:09 -07:00
Magnus Müller a694501294 Enhance DownloadsWatchdog to expand and resolve download paths
This commit updates the DownloadsWatchdog class to ensure that the downloads directory path is properly expanded and resolved to an absolute path. The changes include:

- Expanding the downloads path using `expanduser()` and `resolve()` methods to handle user home directories correctly.
- Updating the download behavior settings to use the expanded path.
- Ensuring that the downloads directory is created with the resolved path.

Additionally, the example feature for downloading files has been modified to use a temporary downloads path for testing purposes.
2025-09-06 15:53:16 -07:00
Magnus Müller 95ccbe5115 Refine Playwright integration example documentation
This commit updates the Playwright integration example in `playwright_integration.py` to provide a clearer overview of its key features. The previous detailed description has been condensed into a more concise format, highlighting the main functionalities of sharing a Chrome instance via CDP and the ability to perform actions with both Playwright and Browser-Use.

- **Documentation Update**
- Simplified the example description for better clarity and focus on key features.
2025-09-06 15:14:36 -07:00
Magnus Müller b956c11567 Add advanced Playwright integration example
This commit introduces a new example demonstrating the integration of Playwright with Browser-Use. The example showcases how to start Chrome with CDP enabled, create custom actions for form filling, taking screenshots, and extracting text using Playwright's capabilities. It includes necessary dependency checks and a main function to orchestrate the workflow using an AI agent.

- **New Features**
- Implemented custom actions: `playwright_fill_form`, `playwright_screenshot`, and `playwright_get_text`.
- Added error handling and dependency checks for required libraries.
- Provided detailed documentation within the code for clarity on usage and functionality.
2025-09-06 14:54:52 -07:00
Magnus Müller 6495408168 Ignore input 2025-09-06 14:50:54 -07:00
Magnus Müller b32a79a063 Merge branch 'main' into added-playwright-browser-use-example 2025-09-06 14:41:17 -07:00
Magnus Müller be6fd1a92e Add video recording configuration options to BrowserSession
- Introduced `record_video_framerate` and `record_video_size` parameters to the BrowserSession class for enhanced video recording capabilities.
- Updated example in video_recording.py to reflect changes, switching from BrowserSession to Browser for video recording setup.

This update allows users to customize video recording settings more effectively.
2025-09-06 12:29:19 -07:00
Enzo Biondo 1da79ca982 Merge branch 'main' into feat/video-recording 2025-09-06 14:43:33 -03:00
Magnus Müller 698669be63 Merge branch 'main' into fix/gmail_integration_script 2025-09-06 10:25:46 -07:00
Magnus Müller c3d2f18742 Update agent initialization to suppress type checking warnings
- Added a type ignore comment to the agent initialization line to prevent type checking errors related to the sensitive_data parameter.

This change improves compatibility with type checkers while maintaining code clarity.
2025-09-06 08:41:45 -07:00
Magnus Müller cd239317d0 Update 2FA example to reflect new sensitive data key
- Changed the key in sensitive_data from '2fa_code' to 'bu_2fa_code' for improved clarity.
- Updated user instructions to align with the new key terminology.

These modifications enhance the consistency and clarity of the 2FA implementation.
2025-09-06 08:38:54 -07:00
Magnus Müller bf385a3f34 Update 2FA implementation to standardize sensitive data references
- Changed the key in sensitive_data from 'otp_secret' to '2fa_code' for consistency across files.
- Updated instructions in the 2FA example to reflect the new key and improve clarity on user input.

These changes enhance the clarity and maintainability of the 2FA implementation.
2025-09-06 08:38:14 -07:00
Magnus Müller fce87aa7b7 Refactor 2FA example to enhance clarity and maintainability
- Removed unnecessary logging setup to streamline the code.
- Simplified the definition of sensitive_data by eliminating type annotations.
- Updated comments for better guidance on using the 2FA example.

These changes improve the readability and maintainability of the 2FA implementation.
2025-09-06 07:57:25 -07:00
Magnus Müller 719761313c Refactor sensitive data handling across examples
- Updated sensitive_data definitions to remove type annotations for clarity.
- Simplified the structure of sensitive_data in multiple files, ensuring consistency in credential representation.
- Enhanced comments to guide users on the proper use of sensitive data in the context of 2FA and domain-specific credentials.

These changes improve the readability and maintainability of the code while ensuring secure handling of sensitive information.
2025-09-06 07:51:52 -07:00
Magnus Müller 55b0af568d Update sensitive_data.py to refine credential entries
- Changed the wildcard entry for Google credentials to a specific domain.
- Added a new entry for a universal email credential that works across all domains.

These updates improve the clarity and specificity of sensitive data handling.
2025-09-06 07:34:40 -07:00
zhcn 5c883062ae Update add_image_context.py code style 2025-09-04 14:54:54 +08:00
zhcn 81cd351670 add image context example 2025-09-04 14:29:04 +08:00
Magnus Müller dc1eb696b3 remove lmnr from examples 2025-09-03 18:11:45 -07:00
Saurav Panda 89f2346132 Merge branch 'main' into added-playwright-browser-use-example 2025-09-03 15:53:47 -07:00
Magnus Müller d13cedbf5c fix gemini example 2025-09-03 11:05:42 -07:00
Magnus Müller e26eceb7fc fix-wildcard-imports 2025-09-03 10:38:42 -07:00
Magnus Müller 8cbf2ff7e1 Update prompt 2025-09-03 09:51:23 -07:00
Magnus Müller 69fdace314 Refactor email handling in 2FA example
- Updated the 2FA example to use the new EmailTools class for managing email interactions.
- Replaced EmailController with EmailTools for better integration with AsyncAgentMail.
- Added functionality to create and manage email inboxes directly within the example.
- Adjusted the agent initialization to accommodate the new tools and models structure.
2025-09-03 09:41:22 -07:00
Magnus Müller 48b98de1df Rename import from llm to models 2025-09-03 09:13:30 -07:00
Magnus Müller a27dbdbda6 Add lazy import example for browser-use agent with OpenAI LLM integration 2025-09-03 09:10:28 -07:00
Magnus Müller 5cf080c178 Increase timeout 2025-09-02 19:23:18 -07:00