Commit Graph

969 Commits

Author SHA1 Message Date
Magnus Müller 4db4515c65 Refactor error handling in agent service and update emoji representation in logs 2025-06-02 14:16:54 +02:00
mertunsall 8c0ac3782d add memory to some ActionResult objects 2025-06-01 12:28:17 +02:00
Mert Unsal fd6490632f Merge branch 'main' into mert/new_everything 2025-05-31 17:34:49 +02:00
mertunsall bcdc522ade Nuke it all 2025-05-31 17:30:21 +02:00
mertunsall 38ee251acc fix json mode issue and update branch for testing json mode 2025-05-30 18:40:01 +02:00
mertunsall a11bf24f48 bumped langchain versions and fixed llama 4 2025-05-30 11:31:05 +02:00
Gregor Žunič f5f0c19593 added more included attributes 2025-05-28 19:12:18 +02:00
Ajith 7675b12558 fix async-await issues preventing crash 2025-05-27 00:16:41 +05:30
Nick Sweeting a5b99f9b7f fix re-use of BrowserSession between agents by copying on Agent init 2025-05-25 06:38:43 -07:00
Nick Sweeting 08726575ac simplify close messages 2025-05-23 22:05:19 -07:00
Nick Sweeting bad374ba68 make logging more error resilient 2025-05-23 21:36:53 -07:00
Nick Sweeting 272293da4a fix variable naming 2025-05-23 14:02:54 -07:00
Nick Sweeting c90a85dfeb allow passing page to Agent directly 2025-05-23 03:53:23 -07:00
Nick Sweeting 2eb0c11b86 tweak version number check to use pyproject.toml 2025-05-23 03:31:48 -07:00
Nick Sweeting 8bf4c8078e performance tuning for LLM tool call check 2025-05-23 03:31:17 -07:00
Nick Sweeting 48d85ca411 small logging tweaks 2025-05-23 01:59:12 -07:00
Nick Sweeting f7ece592c9 Merge branch 'main' into verify_setup_llm 2025-05-23 01:50:04 -07:00
Nick Sweeting 22bf1c30c6 Merge branch 'main' into bug-bash 2025-05-23 01:40:58 -07:00
Nick Sweeting adba9a1c4b remove dead commented code 2025-05-23 01:37:26 -07:00
Nick Sweeting f6ca4e13a3 massively improve logging experience and add loading animation on browser startup 2025-05-23 00:48:52 -07:00
Nick Sweeting fbf52be11b improve logging and use scheme matching for google urls 2025-05-22 23:25:17 -07:00
Nick Sweeting 6b8360c475 better logging 2025-05-22 23:17:21 -07:00
Nick Sweeting 38d8b6acec Merge branch 'main' into security-improvements 2025-05-22 17:11:16 -07:00
Nick Sweeting 5cbb48a718 tweak controller action param setup to avoid double browser_session arg 2025-05-22 06:55:47 -07:00
Nick Sweeting 187641f695 add support for nested sensitive_data 2025-05-22 04:58:23 -07:00
Magnus Müller 748b5edce3 Refine agent initialization log message format
- Updated the log message in `service.py` to remove unnecessary quotes around the version information, enhancing clarity and consistency in the output.
- This change improves the readability of the log during the agent's initialization process.
2025-05-22 12:22:09 +02:00
Magnus Müller e39da12f8d Refactor logging in Agent class to improve verbosity control
- Changed the log level for total input tokens from INFO to DEBUG to reduce verbosity during normal operation.
- Removed an INFO log statement for telemetry logging to streamline logging output and focus on error handling.
2025-05-22 12:02:37 +02:00
Anirudha619 b6037abc5a add json test for raw method and capital question 2025-05-21 22:59:47 +05:30
Magnus Müller 4c75ecd25e Update logging message in Agent class to enhance clarity and detail
- Changed the log message format in `service.py` to specify the agent type as "browser-use" and included the version information for better context during initialization.
- Adjusted the conditional logging for planner model and reasoning settings to improve readability.
2025-05-21 13:46:04 +02:00
Magnus Müller e16653b150 Example/simple (#1724)
### Example Task Update:
*
[`examples/simple.py`](diffhunk://#diff-7fc9f71ba0fe3a9a223587549462f41d40b57cb9d9097a0349eb7abeb9d04e39L20-R20):
Modified the example task description to specify finding the cheapest
one-way flight in 3 weeks, making it more realistic and time-relative.
    
<!-- This is an auto-generated description by cubic. -->
---

## Summary by cubic
Updated the example task to search for the cheapest one-way flight in 3
weeks, added a default browser profile fallback, and ignored temp
directories in git.

<!-- End of auto-generated description by cubic. -->
2025-05-21 13:10:49 +02:00
Magnus Müller b3abed3bd3 Refactor Agent class to rename 'state' variable to 'browser_state_summary' for improved clarity in step execution logic. 2025-05-21 13:02:42 +02:00
Magnus Müller 48e94def72 Added DEFAULT_BROWSER_PROFILE as fallback for browser_profile in Agent class initialization 2025-05-21 11:59:38 +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
Anirudha619 52ac9de8fd add _verify_and_setup_llm 2025-05-21 00:50:12 +05:30
Nick Sweeting f47977ac9c fix bugs, add browser_state_summary, add patchright 2025-05-20 04:44:03 -07:00
Nick Sweeting a84b1c6d6b Merge branch 'main' into browser-session 2025-05-20 03:10:37 -07:00
Nick Sweeting 86ec6a78b0 new BrowserSession and BrowserProfile design, renamed BrowserState to BrowserStateSummary and more 2025-05-20 02:31:54 -07:00
Nick Sweeting f40c25c578 log Agent version at startup 2025-05-19 17:46:48 -07:00
Nick Sweeting e481b3401b Merge branch 'main' into feature/multi_thread_agent_execution 2025-05-19 17:25:34 -07:00
Nick Sweeting b512e08364 minor compat msg improvements and dead code removal 2025-05-17 05:10:31 -07:00
Nick Sweeting 90dad4a39a refactor to use new BrowserSession model 2025-05-17 04:54:13 -07:00
Nick Sweeting b4cd4af1c8 fix: when set sensitive_data, get allowed_domains,error (#1623) 2025-05-12 06:31:47 -07:00
Nick Sweeting ca230dfeef move security check after context config is set up 2025-05-12 06:30:03 -07:00
mingzhong.li fd98fe5c8b fix: when set sensitive_data, but not set allowed_domains,will have error: 'Agent' object has no attribute 'browser' 2025-05-09 14:48:49 +08:00
Alezander9 96295d76d5 add source to telemetry event 2025-05-08 18:35:45 -07:00
Alezander9 72da31a9b1 Merge remote-tracking branch 'upstream/main' into refactor-telemetry
Merge upstream.
2025-05-06 10:32:57 -07:00
Alezander9 1ce846e683 modify signal handler to still log agent_event when agent run is cancelled by user 2025-05-06 10:31:53 -07:00
Nick Sweeting 7aefb50b4d 30sec is a little harsh, lower it 2025-05-04 18:48:08 +08:00
Nick Sweeting 8e6f4688d3 fix inverted condition 2025-05-04 18:16:43 +08:00
Nick Sweeting beae1bff32 rename active_page to current_page for consistency 2025-05-04 17:51:34 +08:00