Commit Graph

168 Commits

Author SHA1 Message Date
mertunsall
7632a9f56f store state message in the history 2025-10-08 16:49:50 +02:00
Magnus Müller
1b6b674796 Update sensitive data 2025-10-05 15:24:47 -07:00
Magnus Müller
90d414042a Update docs 2025-10-05 15:09:35 -07:00
Magnus Müller
968414b982 Compress gemini schema 2025-10-05 12:48:25 -07:00
Magnus Müller
7b995b7fc1 Refactor action field descriptions in AgentOutput models
- Removed redundant description from action field in AgentOutput and its subclasses.
- Updated action extraction documentation in Tools to clarify usage and limitations.
- Enhanced search_engine field description in SearchAction for better clarity on default behavior.
2025-10-05 11:29:19 -07:00
Magnus Müller
d014474998 Linter 2025-10-04 12:59:11 -07:00
Magnus Müller
d3abbcb2c7 Include use_vision auto 2025-10-04 12:56:40 -07:00
Magnus Müller
e454309f51 Dynamic model timeout 2025-09-19 23:48:49 -07:00
Saurav Panda
126d800df4 remove sensitive data from agent history and logging 2025-09-16 14:41:24 -07:00
Magnus Müller
0e44eb1d3d Merge remote-tracking branch 'origin/HEAD' into fix/issue-1716-event-driven-pause-resume 2025-09-06 09:07:53 -07:00
Magnus Müller
01acf052cd Remove recovery_attempted attribute from AgentState model to streamline state management. 2025-09-04 17:33:41 -07:00
Magnus Müller
f474e24b28 force-llm-output-after-failure 2025-09-04 17:22:32 -07:00
Magnus Müller
15054a75c9 Update max_actions_per_step to 4 2025-09-03 09:51:36 -07:00
Magnus Müller
43df3ddb8e Removevalidate_output 2025-08-26 15:01:48 -07:00
Magnus Müller
f8a281fc35 Remove retry delay for rate limits, because we do this inside the llm call 2025-08-26 14:59:41 -07:00
Magnus Müller
147ed30d02 Remove planner llm 2025-08-26 14:50:14 -07:00
Magnus Müller
e89e78842c Rename controller file to tools 2025-08-26 11:06:28 -07:00
Magnus Müller
1e400c3da1 fix add_new_task for eventbus 2025-08-24 16:09:04 -07:00
mertunsall
59fb17cdbe record coordinates of click 2025-08-21 21:01:18 +01:00
Nick Sweeting
5de5c746fd Merge branch 'main' into fix/issue-2614-queue-shutdown-clean 2025-08-14 12:37:21 -07: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
Yash Solanki
4f7fbd97d1 Merge branch 'main' into fix/issue-1716-event-driven-pause-resume 2025-08-06 23:05:49 +05:30
Aitor
1e2a083415 Merge branch 'main' into local-remote-split 2025-08-05 18:28:06 +01:00
mertunsall
6a15ed4c4e cleaner 2025-08-05 15:21:52 +01:00
Nick Sweeting
328a4b5be4 Merge branch 'feature/new-dom-extraction-layer' into local-remote-split 2025-08-05 03:12:48 -07:00
Yash Solanki
a3a6d50194 Merge branch 'main' into fix/issue-1716-event-driven-pause-resume 2025-08-04 16:46:00 +05:30
Cursor Agent
48165d21e6 Remove message_context parameter from agent and message manager
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-08-03 14:00:19 +00:00
MagellaX
1417d39799 Merge branch 'fix/issue-1716-event-driven-pause-resume' of https://github.com/MagellaX/browser-use into fix/issue-1716-event-driven-pause-resume 2025-08-03 19:11:29 +05:30
MagellaX
90f7cba3be checkpoint before checking out main 2025-08-03 18:58:14 +05:30
Gregor Žunič
286b5ec801 Merge commit '90fa344b599d55c2984bd926161acfecbb681d8c' into feature/new-dom-extraction-layer 2025-08-02 14:34:20 -07:00
Yash Solanki
d7a7d555e6 Merge branch 'main' into fix/issue-1716-event-driven-pause-resume 2025-08-03 00:33:29 +05:30
Gregor Žunič
0aa3d54233 Merge commit '9b882faa10c54be5a870cc5d8abd6ddb19d0682f' into feature/new-dom-extraction-layer 2025-08-02 11:41:28 -07:00
mertunsall
9bd0036223 separate agent history and state 2025-08-02 15:48:49 +01:00
MagellaX
e67209c17a Fix #1716: Consolidate pause/resume state management 2025-08-01 14:59:01 +05:30
Alezander9
87ab3c20fb address cubic comments 2025-07-30 17:31:22 -07:00
Alezander9
907e82603e cleanup formatting issues with get_trace() 2025-07-29 18:40:36 -07:00
Alezander9
18876f222e add helper function for getting agent trace, remove references to deprecated gpt-4o 2025-07-29 18:11:56 -07:00
Enzo Biondo
0c5451caa0 Merge branch 'main' into feat/custom-screenshot-quality 2025-07-21 13:27:07 -03:00
Magnus Müller
01f5854706 Inlcude timeout per step at 3min 2025-07-19 19:40:21 +02:00
Magnus Müller
e43363cb0b Set maximum 1 min timeout for llm call 2025-07-19 18:56:50 +02:00
EnzoFanAccount
ec9223b3e4 add vision_detail_level param 2025-07-18 11:40:52 -03:00
Magnus Müller
061e24b976 Merge remote-tracking branch 'origin/main' into extraction-magnus-revert-with-main 2025-07-14 18:35:21 +02:00
mertunsall
5ccf02b794 fixes 2025-07-12 22:04:18 +02:00
mertunsall
d490087a28 FLASH MODE 2025-07-12 21:46:48 +02:00
Gregor Žunič
7bf17064f6 started migration to pure cdp 2025-07-11 14:19:22 +02:00
mertunsall
c00f66d338 1. fix the bug that auto downloads were not available immediately to the agent
2. make available_file_paths a state of the agent instead of setting and update it regularly.
2025-07-09 15:27:08 +02:00
Gregor Žunič
8a2eda1828 wip, started migrating to pure cdp 2025-07-09 12:22:21 +02:00
mertunsall
188642a68e fix more 2025-07-07 14:42:15 +02:00
Mert Unsal
f7825bf176 Revert "Make tool call example parameter optional" 2025-07-07 13:35:37 +02:00
Cursor Agent
31718e982c Change default of include_tool_call_examples to False for reduced tokens
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-06 22:32:45 +00:00