Commit Graph

969 Commits

Author SHA1 Message Date
Magnus Müller 2a83442f17 Rename Controller to Tools 2025-08-26 11:04:16 -07:00
reformedot def9f85867 fix: fixed bug with take_step _task_start_time field 2025-08-26 13:29:01 +01:00
Magnus Müller 82944175e6 alias for session 2025-08-25 21:38:12 -07:00
Magnus Müller 1e400c3da1 fix add_new_task for eventbus 2025-08-24 16:09:04 -07:00
Magnus Müller 79847612e8 radio button test 2025-08-24 12:42:32 -07:00
Magnus Müller 7f68376aeb Remove Google search fallback from URL retrieval
Removed default Google search URL fallback when no URLs are found.
2025-08-24 12:12:06 -07:00
Cursor Agent 8fb10d1969 Improve URL extraction: handle multiple URLs and skip email addresses
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-08-24 18:58:13 +00:00
Nick Sweeting 720635f8f5 tweak logging to use target id everywhere consistently instead of python id of page obj 2025-08-22 16:04:20 -07:00
Magnus Müller 9d27efaf04 remove agent call method 2025-08-21 11:32:42 -07:00
Magnus Müller bef7715fc8 Merge branch 'main' into fast-example 2025-08-21 08:33:54 -07:00
mertunsall f39934ec3d Merge branch 'main' into mert/add_unexecuted_actions_into_context 2025-08-21 13:26:32 +01:00
Magnus Müller 543598853f Make agent callable 2025-08-20 22:36:18 -07:00
Magnus Müller 4bad26b899 Default llm 2025-08-20 22:18:07 -07:00
Magnus Müller f58f25d7d6 Use copy of cached_selector_map to avoid cache being remove 2025-08-20 21:30:51 -07:00
Magnus Müller 7d53f108c7 Enhance logging: include 'google_genai' in logging configuration and improve attachment logging format. Log task duration on completion. 2025-08-20 21:07:26 -07:00
Magnus Müller fa07427da2 small log change 2025-08-20 20:27:23 -07:00
mertunsall 6c6907bfc2 list unexecuted actions 2025-08-20 23:52:45 +01:00
Magnus Müller 8f370ec6a8 Increase frequency_penalty and reset timeouts 2025-08-19 17:33:29 -07:00
Magnus Müller edfe33c9f6 Bump llm timeout to see real error - revert this later 2025-08-19 15:00:11 -07:00
Magnus Müller 49e7f5686e Feedback message if wrong output 2025-08-19 14:59:17 -07:00
Magnus Müller 12a7fe9ff3 Small color change 2025-08-19 00:25:05 -07:00
Magnus Müller 7f3ae7469a Fix new lines 2025-08-19 00:17:58 -07:00
Magnus Müller 22a86b8a3c Change colors 2025-08-19 00:11:50 -07:00
Magnus Müller 13dce77c98 Update info logger to debug and clean up logs 2025-08-19 00:02:42 -07:00
Magnus Müller 8c1b4bf794 Update info logger to debug 2025-08-18 23:37:31 -07:00
Magnus Müller 76bd5f21d7 preload url fix punctuation with brackets 2025-08-18 20:45:46 -07:00
Magnus Müller 2246231cfc preload url fix punctuation 2025-08-18 20:40:45 -07:00
Nick Sweeting 8d86832095 fix SwitchTab by using TargetID for all tab_ids 2025-08-15 16:45:27 -07:00
Nick Sweeting 78ee73c949 cleaner logging slightly 2025-08-14 19:06:18 -07:00
Nick Sweeting 35e122def1 use go_to_url action to preload urls in tasks instead of force-navigating 2025-08-14 14:32:31 -07:00
Nick Sweeting 86fb443895 remove old unused playwright types 2025-08-14 14:32:31 -07:00
Nick Sweeting 5de5c746fd Merge branch 'main' into fix/issue-2614-queue-shutdown-clean 2025-08-14 12:37:21 -07:00
Nick Sweeting 6c2e854ee5 dont use preload cache for anything after the first step 2025-08-14 00:11:03 -07:00
Nick Sweeting e9769ac18e tweak logging line lengths 2025-08-13 22:55:50 -07:00
Nick Sweeting 079e9e6445 preload urls in tasks by default 2025-08-13 22:55:07 -07:00
Magnus Müller c40daa14eb hot-fix/error-count-only-for-single-steps 2025-08-12 23:42:38 -07:00
Magnus Müller 2801c84cfd fix-done-action-not defined 2025-08-12 21:40:52 -07:00
Nick Sweeting 8732b41bdb highlight actions nicely in logs 2025-08-12 17:50:59 -07:00
Magnus Müller 56086329fd Only increase errors if first action fails 2025-08-12 14:41:36 -07:00
Magnus Müller 5a908851d5 Increase consecutive_failures if action error 2025-08-12 13:35:13 -07:00
Gregor Žunič a29d4ac8bd reverted multi-act back to branch_path_hashes 2025-08-12 12:04:23 -07:00
Nick Sweeting c440e29ea1 fix cached selector map and js popups 2025-08-12 05:00:31 -07:00
Nick Sweeting 7a0889cf20 formatting 2025-08-12 04:14:53 -07:00
Nick Sweeting d1e569eb31 raise BrowserError exceptions instead of returning success=False 2025-08-12 04:14:53 -07:00
Nick Sweeting 9f9558e49f Merge branch 'main' into local-remote-split 2025-08-11 13:15:21 -07:00
Louis 571bfa78a4 style: Remove trailing whitespace to fix pre-commit formatting
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 20:15:21 +02:00
Louis 8a11d05bf8 Fix #2614: Prevent QueueShutDown exception when using add_new_task + multiple runs
The issue occurred when calling agent.run() after using add_new_task(), because
the second run() attempted to dispatch CreateAgentSessionEvent to an already
shut down event queue from the first run.

This change:
- Adds session_initialized flag to AgentState to track if session events were dispatched
- Only dispatches CreateAgentSessionEvent on the first run() call
- CreateAgentTaskEvent is still dispatched on every run() as tasks can change
- Maintains all existing functionality while preventing the QueueShutDown exception

Fixes the workflow: agent.run() -> agent.add_new_task() -> agent.run() ✅

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 20:06:11 +02:00
Magnus Müller aa45460617 Fixed multiact cache 2025-08-10 18:25:22 -07:00
Magnus Müller 4a0ed1fa84 Add option to include screenshot in browser state summary retrieval 2025-08-10 12:35:53 -07:00
Magnus Müller 5104f601e6 Only wait after first 2025-08-10 12:12:33 -07:00