Commit Graph

1855 Commits

Author SHA1 Message Date
Mert Unsal
8094204488 Merge branch 'main' into cursor/create-branch-for-new-element-updates-0831 2025-07-02 11:27:48 +02:00
Cursor Agent
9dc85ee203 Checkpoint before follow-up message 2025-07-02 09:25:18 +00:00
Cursor Agent
fd5bb775dc Clarify description of <new> elements in browser state documentation
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-02 09:25:07 +00:00
Cursor Agent
755b96e6a0 Simplify note about <new> tag in browser state description
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-02 09:23:26 +00:00
Cursor Agent
e13c4cee9c Clarify definition of <new> tag in browser state documentation
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-02 09:22:12 +00:00
Mert Unsal
1f097275bd Remove xpath from click_element_by_index (#2240)
Removed the optional xpath field from the ClickElementAction model - this was wrong.
2025-07-02 10:15:12 +02:00
Mert Unsal
0d781ce20c fix (#2241)
Fixed a bug where the reasoning_effort parameter was sent to all models.
Now it is only sent to supported models.
2025-07-02 10:13:47 +02:00
mertunsall
b37f5294c5 fix 2025-07-02 10:08:11 +02:00
mertunsall
fbd3a11737 fix 2025-07-02 10:01:56 +02:00
Cursor Agent
ee2c1d2ad0 Remove optional xpath from ClickElementAction model
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-02 07:43:21 +00:00
Cursor Agent
c24d5b4320 Remove optional xpath parameter from InputTextAction model
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-07-01 21:51:05 +00:00
Cursor Agent
05ef6dcc82 Replace asterisk markers with <new> tags for new elements
- Update DOM element highlighting from *[index]* to <new>[index]</new>
- Update system prompts to reflect new <new> tag format
- Provides clearer semantic meaning for new elements in browser state
2025-07-01 21:47:57 +00:00
mertunsall
b290e64b86 fix types 2025-07-01 23:24:20 +02:00
mertunsall
6bdb4d5920 Refactor reasoning_effort parameter to be non-optional and default to 'low' 2025-07-01 23:20:50 +02:00
mertunsall
1885dabc48 default reasoning effort to low 2025-07-01 23:18:54 +02:00
Mert Unsal
e1aecf855b Merge branch 'main' into mert/resillient_memory 2025-07-01 12:54:20 +02:00
mertunsall
729fc798ca add assertion for safety 2025-07-01 12:49:03 +02:00
mertunsall
63c0f5d086 convert to pydantic 2025-07-01 12:32:54 +02:00
mertunsall
3b53e8b495 fix linter 2025-07-01 12:23:52 +02:00
Mert Unsal
d5fe291a38 Merge branch 'main' into mert/dont_use_fs 2025-07-01 12:05:27 +02:00
Mert Unsal
9f1e1bd929 Merge branch 'main' into mert/resillient_memory 2025-07-01 12:05:10 +02:00
mertunsall
2c465a898a - Introduce a max_history_items parameter to limit the memory of the model
- changed the system messages to have <sys> tag instead of <s> to avoid confusion with HTML
-  Got rid of MessageMetadata, SupportedMessageTypes and implemented cleaner MessageManagerState
- Implemented a HistoryItem class to cleanly reconstruct agent history description
2025-07-01 12:04:27 +02:00
Nick Sweeting
6a5e86204b speed up screenshot tweaks 2025-07-01 01:42:28 -07:00
mertunsall
ef30980fe9 add extract_links to structured data 2025-07-01 10:34:23 +02:00
mertunsall
35120fc253 dont use fs for short tasks, dont initialize results.md 2025-07-01 10:29:11 +02:00
Nick Sweeting
d9943ef336 tweak emojij 2025-07-01 00:41:49 -07:00
Nick Sweeting
6170953b5e disable screenshot clipping entirely for now 2025-06-30 23:47:20 -07:00
Nick Sweeting
385dedde77 fix screenshot clip errors at end of scroll 2025-06-30 23:41:21 -07:00
mertunsall
1c3a24f1f2 fix 2025-07-01 07:39:04 +02:00
mertunsall
8a16a31c80 Update system prompts to clarify file system usage guidelines
- Changed the instruction to specify not using the file system for tasks with fewer than 5 steps instead of "really short."
- Added a note to use the file system only for long-horizon tasks for better task management.
2025-07-01 07:37:46 +02:00
Magnus Müller
7fda8927d2 agent-add-step-info-to-take-step 2025-06-30 13:19:41 +02:00
Nick Sweeting
60aa9a8102 restore screenshot logic without viewport expansion 2025-06-30 01:03:02 -07:00
Nick Sweeting
163faf355b add device_id to all events 2025-06-30 00:59:05 -07:00
mertunsall
6ab1093627 fix more tests 2025-06-29 23:18:10 +02:00
mertunsall
649b2d5277 Refactor URL navigation and scrolling actions
- Updated GoToUrlAction to include a new_tab parameter for opening URLs in a new tab or navigating in the current tab.
- Removed the OpenTabAction as its functionality is now integrated into GoToUrlAction.
- Enhanced scroll action to allow scrolling up or down based on a boolean parameter.
- Cleaned up commented-out code related to accessibility tree retrieval for better readability.
2025-06-29 22:48:40 +02:00
mertunsall
dd0f65b956 Merge branch 'main' into mert/remove_save_pdf 2025-06-29 21:57:41 +02:00
mertunsall
e9b8cfb9f7 remove the default save_pdf option 2025-06-29 21:51:56 +02:00
mertunsall
640d1a15fe Add upload file action 2025-06-29 21:36:15 +02:00
Gregor Žunič
2c884040c4 Merge branch 'main' into gregor/eng-238-fix-token-counts-on-eval-platform 2025-06-29 19:40:29 +02:00
Gregor Žunič
d7c8dc99a8 Update browser_use/agent/views.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-29 19:36:43 +02:00
Magnus Müller
5ba0c7e0bb Merge branch 'main' into fix-screenshot-changes-screen-size 2025-06-29 18:36:04 +02:00
Magnus Müller
de816574f0 Remove screenshot logic and use default playwright screenshot 2025-06-29 18:34:00 +02:00
Gregor Žunič
184fa8efb7 tests for schema generator 2025-06-29 18:09:25 +02:00
Gregor Žunič
48ae2d19cf much better structured output + utils for generating pydantic schema 2025-06-29 17:42:19 +02:00
Gregor Žunič
9f8a91a812 Merge remote-tracking branch 'origin/main' into gregor/eng-238-fix-token-counts-on-eval-platform 2025-06-29 17:04:54 +02:00
Gregor Žunič
0691500c6a wip 2025-06-29 16:22:19 +02:00
Gregor Žunič
b37e026f89 added usage data to agent history and evals 2025-06-29 11:28:20 +02:00
Magnus Müller
37cdaa0fee Clarify purpose of model_rebuild() in ExtendedOutputModel for eval service 2025-06-28 22:45:18 +02:00
Cursor Agent
bf9ca5baad Fix ExtendedOutputModel schema validation by adding model_rebuild()
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-06-28 19:52:57 +00:00
Nick Sweeting
622bd1da0f fix lint 2025-06-28 04:07:16 -07:00