Commit Graph

1452 Commits

Author SHA1 Message Date
Magnus Müller cf37b1b656 Update system prompt documentation to clarify state definitions and improve readability. Adjusted descriptions for Agent State, Browser State, and Browser Rules to enhance understanding of user interactions and expectations. 2025-06-09 21:46:54 +02:00
Magnus Müller 543ee984b3 Improve error handling in JSON parsing by including the exception message in the ValueError. Added debug logging for successful model output parsing in utils.py to enhance traceability and debugging. 2025-06-09 18:47:37 +02:00
Magnus Müller 469e859647 Enhance JSON extraction in utils.py to support function parameter retrieval. Added logic to extract the value of 'params', 'args', 'kwargs', or 'parameters' when the 'function' key is present, improving the handling of model outputs. 2025-06-09 18:38:39 +02:00
Magnus Müller 574c2b23b6 Improve parameter logging in Agent class by truncating long values to 30 characters for better readability in action summaries. 2025-06-09 15:51:17 +02:00
Magnus Müller 90a4d858f1 Enhance JSON extraction in utils.py to handle stray characters and ensure valid JSON parsing. Added logic to count braces and trim content to the last valid JSON position if necessary, improving robustness in JSON handling. 2025-06-09 11:47:19 +02:00
Magnus Müller 52d4191ba9 Merge branch 'main' into mert/new_everything 2025-06-07 17:58:09 +02:00
Nick Sweeting 6d2826b37a show 4 chars of id instead of 3 2025-06-05 23:28:53 -07:00
Nick Sweeting 48a63fa3af whoops dont mix branch changes 2025-06-05 23:02:16 -07:00
Nick Sweeting 67b9a267db force-start browser is is_connected is false when create_new_tab 2025-06-05 22:58:33 -07:00
Nick Sweeting f85ca0022c fix browser_session initialization based on old browser= arg 2025-06-05 22:57:07 -07:00
Nick Sweeting 8f057d9a12 use dedicated per-object logger for Agent and BrowserSession 2025-06-05 22:56:43 -07:00
Nick Sweeting 0c954791b1 Merge branch 'main' into eventbus 2025-06-05 22:37:36 -07:00
Nick Sweeting c9f7aec8ce Merge branch 'main' into eventbus 2025-06-05 22:33:49 -07:00
Nick Sweeting 80e5b03c15 Merge branch 'main' into sensitive_data 2025-06-05 22:32:25 -07:00
Nick Sweeting c29353078d Merge branch 'main' into bump_langchain 2025-06-05 22:30:31 -07:00
Nick Sweeting 8306a01a02 cleaner agent and browser session logging on connect and disconnect 2025-06-05 22:21:42 -07:00
Nick Sweeting 23d3bf4205 rename .emit to .dispatch and prefix event params to prevent clashes 2025-06-05 21:04:26 -07:00
Nick Sweeting 9da6c485b7 implement new EventBus module with cloud_events to send on agent steps 2025-06-05 18:51:22 -07:00
Anirudha619 380475e4d3 remove print statement 2025-06-06 00:12:20 +05:30
Phenomenon e47430ac8a Merge branch 'main' into sensitive_data 2025-06-06 00:08:36 +05:30
Anirudha619 5033d643cc fix domain based sensitive_data 2025-06-06 00:04:33 +05:30
Nick Sweeting 04d7ab4a01 use helper to get browser_use version 2025-06-05 02:43:49 -07:00
Nick Sweeting 3c1e2a59d1 remove save_playwright_script_path entirely 2025-06-05 02:06:23 -07:00
Anirudha619 8a1d3a6245 temp fix domain based sensitive data 2025-06-05 01:18:40 +05:30
wuhulala e02aabff65 Update gif.py 2025-06-04 14:00:43 +08:00
Magnus Müller aec9fd29a3 Merge branch 'main' into mert/new_everything 2025-06-03 19:59:17 +02:00
mertunsall 05d90b2123 ban displaying todo list 2025-06-03 19:34:41 +02:00
mertunsall 853d2aa461 allow done action to be called ONLY as a single action, i.e. disable calling done within a series of actions 2025-06-03 18:50:46 +02:00
mertunsall 73a13bc2d9 further limit the error message 2025-06-03 18:47:28 +02:00
mertunsall d426c53c1b update to system prompt and agent state 2025-06-03 18:17:05 +02:00
mertunsall b3e772ea4f ask model to apply filters 2025-06-03 17:37:39 +02:00
mertunsall 5e44c9b191 small fixes, change system prompt 2025-06-03 16:18:21 +02:00
Magnus Müller d2059e8512 Enhance error reporting in agent service by including the original exception message in ValueError, improving debugging information. 2025-06-03 09:36:25 +02:00
Magnus Müller 3a9788c1d5 Implement centralized LLM error handling in utils.py and update agent service to utilize this new functionality, improving error management and code clarity. 2025-06-02 15:16:31 +02:00
Magnus Müller 9f808b5a2f Add support for function calling in ChatGroq model integration 2025-06-02 14:30:56 +02:00
Magnus Müller 3018f59654 Enhance JSON extraction in model output by supporting BaseMessage type and improving HTML tag removal 2025-06-02 14:19:53 +02:00
Magnus Müller 77ff34ea64 Limit error message length in action results to 400 characters for improved logging clarity 2025-06-02 14:19:20 +02:00
Magnus Müller 4db4515c65 Refactor error handling in agent service and update emoji representation in logs 2025-06-02 14:16:54 +02:00
wuhulala 42f0af8935 fixed Chinese Characters Garbled in GIFs Generated by Pillow on macOS 2025-06-02 17:47:35 +08:00
mertunsall 7f07c27465 new system prompt based on evals 2025-06-01 17:30:57 +02:00
mertunsall 756d83daee update system prompt 2025-06-01 12:29:12 +02:00
mertunsall 8c0ac3782d add memory to some ActionResult objects 2025-06-01 12:28:17 +02:00
mertunsall b505ac87cb bugfix for ActionResult when the page changes, update examples 2025-06-01 12:27:24 +02:00
mertunsall 1b6c044439 add option to limit browser description to max_clickable_elements_length chars 2025-06-01 12:23:57 +02:00
Nick Sweeting ff791997af Fix available vector providers, local logic, and example (#1858) 2025-05-31 17:00:04 -07: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
Mert Unsal a0133bfac4 Merge branch 'main' into bump_langchain 2025-05-30 18:41:21 +02:00
mertunsall 38ee251acc fix json mode issue and update branch for testing json mode 2025-05-30 18:40:01 +02:00
Mert Unsal 78689a0744 Merge branch 'main' into mert/bump_langchain 2025-05-30 18:09:45 +02:00