Commit Graph

63 Commits

Author SHA1 Message Date
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
Gregor Žunič
b5aebf0b03 shorten super long URLs 2025-09-05 15:42:41 -07:00
Nick Sweeting
95e9049faf Update browser_use/utils.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-04 22:57:56 -04:00
Nick Sweeting
659c5145f6 more event-driven refactoring 2025-08-01 02:42:01 -07:00
Alezander9
87ab3c20fb address cubic comments 2025-07-30 17:31:22 -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
Nick Sweeting
48086d0cdd use retry decorator from bubus 2025-07-08 03:16:22 -07:00
Nick Sweeting
11b187576e fix multiprocess semaphore scope stale 2025-07-08 02:54:13 -07:00
Nick Sweeting
b2a84b2296 fix tests and other improvements 2025-07-08 02:32:03 -07:00
Nick Sweeting
28ca11319c add overload warnings 2025-06-27 01:59:38 -07:00
Nick Sweeting
1415562d6e add portalocker multiprocess semaphore 2025-06-26 23:53:28 -07:00
Nick Sweeting
4b2d7c270b fix tests 2025-06-26 07:30:03 -07:00
Nick Sweeting
fc075c0152 use retry decorator for locking and timeouts instead ofmanual logic 2025-06-26 07:07:13 -07:00
Gregor Žunič
7a10ae0c96 Squashed commit langchain to native 2025-06-24 12:26:55 +02:00
Nick Sweeting
6c695d0a42 more lint and hint fixes 2025-06-21 05:39:17 -07:00
Nick Sweeting
340bafdd29 move old tests to old folder 2025-06-21 04:47:46 -07:00
Nick Sweeting
3cf9f3410c fix config issues 2025-06-21 04:03:58 -07:00
Nick Sweeting
f4b1987761 fixes 2025-06-21 03:43:37 -07:00
Nick Sweeting
6ede8842e5 Update browser_use/utils.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-21 06:38:57 -04:00
Nick Sweeting
49e9fd4ff2 move env var config to utils file 2025-06-21 03:14:46 -07:00
Magnus Müller
ad446f5769 Merge branch 'main' into mert/new_everything 2025-06-19 23:45:41 +02:00
Nick Sweeting
36c88b760c Consolidate sync related code (#2009) 2025-06-19 07:41:28 -07:00
Nick Sweeting
778536a3ce move all sync code into sync dir 2025-06-19 01:28:22 -07:00
Magnus Müller
0b6ebea431 Merge branch 'main' into mert/new_everything 2025-06-19 09:49:43 +02:00
Yasith Jayawardana
e2e11966d3 Merge branch 'main' into typing-improvements 2025-06-18 21:20:47 -04:00
Nick Sweeting
474476f0ae switch to external bubus lib 2025-06-18 01:41:16 -07:00
mertunsall
0c34c399db Merge branch 'main' into mert/new_everything 2025-06-17 11:19:06 +02:00
yasithdev
8ea4b4c71a centralize playwright/patchwright imports, and update typing/checks to reduce lint errors 2025-06-16 22:57:20 -04:00
Nick Sweeting
eb2807e779 fix unbound logger 2025-06-10 02:24:27 -07:00
Nick Sweeting
930a7aa4de use self.logger for timing log lines 2025-06-10 00:24:50 -07:00
Magnus Müller
d998e95ac0 Improve error handling in LLM API calls by appending exception messages to LLMException. This change enhances the clarity of error logs in both utils.py and service.py, facilitating better debugging and traceability. 2025-06-09 22:47:03 +02:00
Magnus Müller
52d4191ba9 Merge branch 'main' into mert/new_everything 2025-06-07 17:58:09 +02:00
Nick Sweeting
885e3bcfba dont prepent v to version numbers 2025-06-05 22:47:16 -07:00
Nick Sweeting
cf6a0d9fbf improve chrome launch error handling when user_data_dir is bad 2025-06-05 18:22:02 -07:00
Nick Sweeting
a2b97b64a9 lint fixes 2025-06-05 02:33:57 -07:00
Nick Sweeting
8593eebf7a Update browser_use/utils.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-05 05:30:30 -04:00
Nick Sweeting
8f6f907247 use async lock to protect BrowserSession.start from race conditions 2025-06-05 02:24:07 -07:00
Magnus Müller
3a9788c1d5 Implement centralized LLM error handling in utils.py and update agent service to utilize this new functionality, improving error management and code clarity. 2025-06-02 15:16:31 +02:00
Nick Sweeting
d2f6dc71a3 Update browser_use/utils.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-05-29 21:47:50 -04:00
Nick Sweeting
2e3550ebec auto-load storage_state into remote browsers as well, use downloads_dir for everything 2025-05-29 17:58:47 -07:00
Nick Sweeting
bad374ba68 make logging more error resilient 2025-05-23 21:36:53 -07:00
Nick Sweeting
fd555173e9 shorter log lines around browsersession closing 2025-05-23 19:43:39 -07:00
Nick Sweeting
39ef1e5d09 more logging and emoji tweaks to improve navigation, page idle, loading messages 2025-05-23 01:31:55 -07:00
Nick Sweeting
831ecec1ab add emoji to timer results 2025-05-23 01:02:58 -07:00
Nick Sweeting
6b8360c475 better logging 2025-05-22 23:17:21 -07:00
Nick Sweeting
187641f695 add support for nested sensitive_data 2025-05-22 04:58:23 -07:00
Nick Sweeting
91c5ba4568 fix lint errors 2025-05-02 20:58:18 +08:00
Nick Sweeting
541eefa212 Fix: Terminal reset sequence when exiting with Ctrl+C (#1534) 2025-05-02 05:57:53 -07:00
Nick Sweeting
2be4ba4f70 more pyupgrade changes 2025-05-02 20:50:21 +08:00
Max Comperatore
acf5e4f3e2 Enhance terminal reset handling on second Ctrl+C for improved user experience 2025-05-01 15:08:07 +00:00