Commit Graph

1537 Commits

Author SHA1 Message Date
mertunsall 67d2f12665 default to PNG everywhere 2025-11-06 14:51:52 -08:00
mertunsall e68114662f fix linter 2025-11-06 13:59:23 -08:00
Mert Unsal 8973e98ee0 Update browser_use/agent/service.py 2025-11-06 13:53:31 -08:00
Cursor Agent 714232bddd Add impossible task and captcha detection logging
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-06 21:52:11 +00:00
Mert Unsal c4e2dfb39a Update browser_use/agent/views.py 2025-11-06 13:42:38 -08:00
Mert Unsal 2a9eae7ec5 Update browser_use/agent/service.py 2025-11-06 13:41:06 -08:00
Cursor Agent cb814da33e Add impossible_task and reached_captcha to JudgementResult
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-06 21:38:18 +00:00
skools-here f8686f4012 Fix: display Chinese characters correctly in conversation logs by using ensure_ascii=False 2025-11-04 19:49:27 +05:30
mertunsall 1bb380734e improve judge printing 2025-11-03 17:06:59 -08:00
Mert Unsal 1e690a2083 Merge branch 'main' into mert/read_image_and_docx 2025-11-03 17:00:14 -08:00
mertunsall 03c9e94dc6 allow reading images such as jpg/png, as well as docx, fixes to the flash system prompt 2025-11-03 16:41:27 -08:00
Cursor Agent 6f392b6775 Improve judge result console output to reduce noise
Only display judge results when:
- Self-reported success and judge verdict disagree
- Agent reports failure (shows full judge result)

Changes:
- Hide judge output when both self-reported success and judge agree task succeeded
- Show warning when agent reports success but judge thinks it failed
- Keep existing behavior for all other cases (show full judge result)

This reduces console clutter for successful tasks while highlighting discrepancies.
2025-11-04 00:09:42 +00:00
mertunsall 29ec2cacb6 improve judge logging to laminar and separate code 2025-11-03 13:04:34 -08:00
Alezander9 87e54e9e8e make use_judge on by default 2025-11-01 15:39:50 -07:00
Alezander9 bf15d159da address cubic comments and clean up new example 2025-11-01 15:37:38 -07:00
Alezander9 4396b416da pass along a new param request_type when using ChatBrowserUse to flag special handling for judge 2025-11-01 15:25:24 -07:00
Alezander9 299cf6a9d0 Merge remote-tracking branch 'upstream/main' into library-judge 2025-10-31 21:03:23 -07:00
Alezander9 16faf74f9a fix cubic comments 2025-10-31 21:02:38 -07:00
Alezander9 4965e0d94c add library judge into telemetry event 2025-10-31 20:34:57 -07:00
Alezander9 10ec99dd26 have library judge show up in logs 2025-10-31 20:30:03 -07:00
Alezander9 15911c8c72 fix bugs in library judge and make it off by default 2025-10-31 20:20:36 -07:00
Alezander9 0f1946cb54 implement simple judge directly into the library on done action 2025-10-31 20:01:07 -07:00
Gregor Žunič 5e428e829b Merge branch 'main' into feature/remote-code 2025-10-31 12:19:39 -07:00
Magnus Müller 66c2d7dd97 Output structure msg 2025-10-30 10:54:33 -07:00
Magnus Müller 78beda65fb Revert "Set vision to true by default"
This reverts commit 62ad269975.
2025-10-30 00:44:53 -07:00
Magnus Müller 62ad269975 Set vision to true by default 2025-10-29 22:46:46 -07:00
Magnus Müller 9e93a92ba4 Include popup msg into browser state 2025-10-29 21:18:20 -07:00
Magnus Müller 309c7dd8f5 Final error logging for not successful 2025-10-29 20:15:44 -07:00
Magnus Müller 86476e45df Linter 2025-10-28 20:53:25 -07:00
Magnus Müller f32fbc981d Remove scroll cta 2025-10-28 20:53:18 -07:00
reformedot ba4877a9d4 Merge branch 'main' into feature/remote-code 2025-10-28 19:20:07 -07:00
Magnus Müller fafc274dde Fix log msg 2025-10-24 14:14:22 -07:00
Magnus Müller 258456736c Error at the end 2025-10-24 13:36:51 -07:00
Magnus Müller c13075d428 Msg if failed 2025-10-24 13:29:34 -07:00
Magnus Müller 0ff12c78c1 Merge branch 'main' into cursor/clean-url-endings-d286 2025-10-23 18:09:24 -07:00
Magnus Müller 3240b13501 reset state stopped after new task 2025-10-23 16:14:00 -07:00
mertunsall 0ac4ebff9c Fix laminar bug 2025-10-23 17:44:45 +02:00
Magnus Müller 035617e228 llm_response 2025-10-21 23:40:51 -07:00
Magnus Müller b678f27a3e Migration from highlight index to backendnode id 2025-10-21 21:02:28 -07:00
Magnus Müller 9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Magnus Müller c00ad67830 Use lower check 2025-10-19 22:04:32 -07:00
Magnus Müller f1ccdfbf6d Remove general endings 2025-10-19 22:04:32 -07:00
Magnus Müller 66dad509d4 refactor: Improve URL filtering logic by considering surrounding context
Enhanced the URL detection process by storing the original position of URLs and checking the surrounding context for excluded words before modifying the URL. This change ensures more accurate filtering and prevents navigation to undesired links while maintaining the addition of 'https://' for URLs missing a scheme.
2025-10-19 22:04:32 -07:00
Magnus Müller e9b4940158 Remove position 2025-10-19 22:04:32 -07:00
Magnus Müller b7e5c4323f refactor: Rename URL extraction method and enhance filtering
Renamed the method for extracting URLs from tasks to `_extract_start_url` for clarity. Added logic to exclude URLs based on specific words in the surrounding context, improving the accuracy of URL detection and preventing navigation to undesired links.
2025-10-19 22:04:32 -07:00
Magnus Müller 3fd7b1ab47 refactor: Format excluded file extensions for better readability
Updated the excluded_extensions list in the Agent class to improve code readability by formatting each file extension on a new line. This change enhances maintainability without altering functionality.
2025-10-19 22:04:32 -07:00
Cursor Agent 75af987149 feat: Exclude file extensions from URL detection
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-10-19 22:04:32 -07:00
Gregor Žunič bc3fd6a2dc loaders for AgentHistoryModel from dict 2025-10-16 14:36:57 -07:00
Magnus Müller a7262ef082 Fix structured output 2025-10-14 13:38:49 -07:00
Magnus Müller b59c2bf539 Success to true msg 2025-10-13 21:47:41 -07:00