Commit Graph

1448 Commits

Author SHA1 Message Date
Magnus Müller 0d731cfb26 Replace tool names like go_to_url wtih navigate 2025-10-05 13:32:16 -07:00
Magnus Müller f0acb6b338 Replace tool names like go_to_url wtih navigate 2025-10-05 13:31:38 -07:00
Magnus Müller 968414b982 Compress gemini schema 2025-10-05 12:48:25 -07:00
Magnus Müller 18b7dd95a4 Fix param 2025-10-05 12:16:13 -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 50fb58284a short-systemprompt 2025-10-05 00:00:28 -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 889efd3ee2 System prompt 2025-10-03 23:55:19 -07:00
Magnus Müller 461bce7b22 Request screenshot 2025-10-03 23:55:15 -07:00
Magnus Müller a8e6af254e Switch all to jpeg 2025-10-03 21:32:47 -07:00
mertunsall 92a1aa2412 small update to sys prompts 2025-10-03 19:21:34 +02:00
mertunsall 9e35f37b21 default to gemini-flash-latest 2025-10-03 19:02:58 +02:00
mertunsall 4709ab9afd Functionality to stop the agent externally 2025-10-03 17:32:54 +02:00
Magnus Müller 781f948bb8 change gemini 2.5 flash to gemini latest 2025-09-26 15:54:19 -07:00
Magnus Müller e496c3a93f Merge branch 'main' into speed-ups3 2025-09-22 18:24:21 -07:00
Mert Unsal 8b13bf4433 Merge branch 'main' into patch-1 2025-09-23 03:06:29 +02:00
Mert Unsal 3aa3121d61 Merge branch 'main' into fix/task-uuid 2025-09-23 03:05:08 +02:00
Mert Unsal 28d976ffb1 Merge branch 'main' into mert/improvepdf 2025-09-23 02:55:15 +02:00
mertunsall 0a924437d6 improve the pdf viewer prompt 2025-09-23 02:52:38 +02:00
Magnus Müller a5cc03d782 Add character limit enforcement for read_state_description and action_results 2025-09-22 16:10:05 -07:00
Magnus Müller 5d749793ec Refactor model timeout logic and enhance ModelProviderError initialization 2025-09-22 16:02:03 -07:00
Chris Schnabl d2d27becc1 Merge branch 'main' of https://github.com/browser-use/browser-use into remove-unused-parameter 2025-09-22 10:50:12 -07:00
Chris Schnabl 84b7eb07ee Run pre-commit hooks 2025-09-22 10:49:55 -07:00
Smaran Nama Arunkumar b3c52e8f7a Changing Pydantic limit for Amazon Bedrock ARN in model
The ARN of cross-region inference exceeds the limit of 100 characters, which is not allowing to make ChatAnthropicBedrock calls. The limit increase ensures we are able to use the inference endpoints with the ARN.
2025-09-22 15:19:53 +05:30
Chris Schnabl 03608b62a2 Remove unused paramter 2025-09-21 21:38:42 -07:00
Cursor Agent 166ea02173 Fix: Check for None in override_system_message
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-09-21 03:31:55 +00:00
Neha Prasad 67aa134c70 Merge branch 'main' into fix/task-uuid 2025-09-20 14:32:35 +05:30
Magnus Müller 32001b0f1b Remove concise comments 2025-09-20 00:03:59 -07:00
Magnus Müller 16a626c81b Refine memory output format to emphasize conciseness and token efficiency 2025-09-19 23:53:45 -07:00
Magnus Müller fb24117363 Lint 2025-09-19 23:52:38 -07:00
Magnus Müller e454309f51 Dynamic model timeout 2025-09-19 23:48:49 -07:00
Magnus Müller e8389ef26b Longer memory 2025-09-19 22:53:04 -07:00
Magnus Müller beccb530f2 Flash prompt more memory 2025-09-19 22:31:50 -07:00
Gregor Žunič 0ceee655e3 Merge branch 'main' into feature/better-custom-actions 2025-09-19 11:23:42 -07:00
Cursor Agent c4ed783a2b Refactor: Make version check async and use httpx
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-09-19 04:12:48 +00:00
Cursor Agent a64c42bb41 Add check for latest browser-use version
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-09-19 01:57:51 +00:00
Magnus Müller ec8f901337 log-js-result 2025-09-17 13:24:42 -07:00
Magnus Müller 75005acd5d Merge branch 'main' into improve-prompt-dom-meta-data 2025-09-17 11:33:32 -07:00
Magnus Müller 6244c97876 Include information about dom metadata in prompt 2025-09-17 11:32:11 -07:00
Magnus Müller 8c1207a614 fix-pixel-prompt (#3142)
Auto-generated PR for branch: fix-pixel-prompt
    
<!-- This is an auto-generated description by cubic. -->
---

## Summary by cubic
Fixes the browser prompt to show scroll context in pages instead of raw
pixels and correctly detect content above/below the viewport. This makes
the page summary clearer and avoids misleading pixel counts.

- **Bug Fixes**
- Compute has_content_above/below from page_info using viewport-height
ratios.
  - Replace "N pixels above/below" with "{pages:.1f} pages above/below".
  - Guard against divide-by-zero when calculating page counts.

<!-- End of auto-generated description by cubic. -->
2025-09-17 11:23:12 -07:00
Magnus Müller 00d0574b96 Refactor AgentMessagePrompt to remove redundant elements_text assignments for pages above and below. This simplifies the code and improves readability. 2025-09-17 11:18:01 -07:00
Magnus Müller a6211d2df9 Refine page info reporting by removing viewport size details and current time from step info 2025-09-17 11:12:52 -07:00
Magnus Müller 9b6ae59006 Fix pixel below 2025-09-17 11:08:39 -07:00
Magnus Müller 84f00dd9d8 Merge branch 'fix-rerunning' of https://github.com/browser-use/browser-use into fix-rerunning 2025-09-16 22:38:50 -07:00
Magnus Müller d63292b3f2 Fix bounds handling in DOMInteractedElement to return None if bounds are not set; ensure proper closure of agent service after execution. 2025-09-16 22:38:49 -07:00
Magnus Müller dbff7a08da Merge branch 'main' into fix-rerunning 2025-09-16 22:22:32 -07:00
Magnus Müller 064c5ba016 Fix rerun with inital actions 2025-09-16 21:46:45 -07:00
Magnus Müller c6f8336a66 Fix open browser in rerunning 2025-09-16 17:47:16 -07:00
Saurav Panda 126d800df4 remove sensitive data from agent history and logging 2025-09-16 14:41:24 -07:00