Commit Graph

1452 Commits

Author SHA1 Message Date
Nick Sweeting b9d27856df Merge pull request #973 from pppp606/feature/add_logger_use_tokens 2025-04-16 15:56:30 -07:00
Nick Sweeting 3fa7b21305 Update browser_use/agent/service.py 2025-04-16 18:56:14 -04:00
Nick Sweeting 8ba3e570e6 Merge branch 'main' into bot-detection-batch 2025-04-16 15:19:02 -07:00
Nick Sweeting 4ef475dda3 Merge pull request #1368 from asasasasasbc/use_arial_unicode 2025-04-16 15:04:53 -07:00
Dha-aa 7ca46f22c2 Run ruff fix and format on modified files 2025-04-16 11:46:58 +05:30
Dha-aa 27525a8595 Add GROK_API_KEY to REQUIRED_LLM_API_ENV_VARS in agent/views.py 2025-04-16 10:52:28 +05:30
Dev-Khant 99604656e4 Mem0: Embedder config for different LLMs 2025-04-16 09:03:26 +05:30
Alezander9 a03aa443de Fix AgentHookFunc type to be awaitable to correctly reflect usage of await on_step_start(self) and await on_step_end(self) in the agent service 2025-04-14 15:25:24 -07:00
Alan Zhang / 遗忘的银灵 d8a020060f Add ArialUni font rendering, which can fix non-alphabet character rendering issues in gif picture 2025-04-14 18:10:19 +08:00
Gregor Žunič 28aa38c7d5 set enable_memory to False 2025-04-14 11:47:23 +02:00
Gregor Žunič facab7c9d1 Merge branch 'main' into gregor/lib-53-fix-extraction-layer-problems 2025-04-14 11:15:01 +02:00
mathisarends-viadee 99ea9882be Explain new extended planner system prompt feature in docs 2025-04-14 09:27:32 +02:00
mathisarends-viadee 075d776bb3 Add extend function for planning system prompt 2025-04-14 09:27:31 +02:00
neo773 c33c3aeb35 Merge branch 'main' into bot-detection-batch 2025-04-12 07:25:58 +05:30
koreng-nimble 18c7e034e8 Fix prompt variable syntax: replace {{max_actions}} with {max_actions} (#1342)
The double braces prevented the value from being interpolated properly. Updated to single braces so `format` correctly replaces it with the real value.
2025-04-10 15:27:45 +02:00
Deshraj Yadav 27ec836491 Upgrade mem0 version 2025-04-09 18:51:44 -07:00
Gregor Žunič be0a3eb564 added *[]* for elements newly app; fixes 2025-04-08 16:39:00 +02:00
Gregor Žunič ee0f961429 switched to better representations 2025-04-07 21:52:13 +02:00
Gregor Žunič ef55e2ea13 much better extraction test 2025-04-07 00:50:55 +02:00
Gregor Žunič 27b22a3986 Update extraction branch (#1296)
* Add http_credentials to browser context.

* Detect index change caused by page change in `multi_act`

* Fix: Add sameSite cookie validation and auto-correction

* added drag drop action

* added drag drop action

* pre-commit run -a (again)

* added active_tab state management

* add anthropic RateLimitError to list of defined rate limit errors

* Add Retry handling to bedrock example

* fix pydantic issue causing config to be overwritten

* fix config setup

* Add botocore, organize imports

* ignore langchain beta warnings

* silence pydantic deprecation warnings

* Update bedrock_claude for ruff

* ruff checks

* Update pyproject.toml and bedrock_claude.py

* ignore signal registration errors in edge case environments

* ruff fixes

* add example of getting 2FA code from 1password

* add rebrowser and creepjs to stealth tests

* Fix typos discovered by codespell

* uv add --dev codespell

* Update browser_use/browser/context.py

* lint

* Add explanations override_system_message and extend_system_message

* Update custom-functions.mdx

.get_current_page() is an async function which have to be awaited.

* Fix: Remove unnecessary await from _verified_api_keys

* Fix: Correct indentation for cookie loading log message in BrowserContext

* Fix: resolve undefined response variable in Deepseek model raw tool calling mode

* fix: increment consecutive_failure on every step error

* Fix azure example not working due to agent memory changes

* dont expose debug port on all addresses and keep security enabled by default

* custom browser addition

---------

Co-authored-by: Bartlomiej Wietrak <bartekwietrak@gmail.com>
Co-authored-by: Alin Jiang <alineveryday@outlook.com>
Co-authored-by: dipfocus <dipfocus@gmail.com>
Co-authored-by: PaperBoardOfficial <hiremohitforsoftwarerole@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Alezander9 <alexander.j.yue@gmail.com>
Co-authored-by: dheerajoruganty <db2winfb@gmail.com>
Co-authored-by: Nick Sweeting <git@sweeting.me>
Co-authored-by: Dheeraj Oruganty <53569374+dheerajoruganty@users.noreply.github.com>
Co-authored-by: Bart <46058081+b0rgcube@users.noreply.github.com>
Co-authored-by: Nick Sweeting <github@sweeting.me>
Co-authored-by: pppp606 <ppppp303@gmail.com>
Co-authored-by: Oswy <74738120+oswy-cpu@users.noreply.github.com>
Co-authored-by: BurnyCoder <happymancz@email.cz>
Co-authored-by: zhushijie <mr.zhushijie@gmail.com>
Co-authored-by: john-rtr <jonathan.ratier@gmail.com>
Co-authored-by: mathisarends-viadee <mathis.arends@viadee.de>
Co-authored-by: lorenss-m <saeclmusic@gmail.com>
Co-authored-by: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
2025-04-05 19:08:50 +02:00
neo773 0672162cf4 Merge branch 'main' into bot-detection-batch 2025-04-05 04:10:50 +05:30
Nick Sweeting 01abdc414b Merge pull request #945 from AlinJiang/detect-index-change-pr
[bug][multi_act] Detect index change caused by page change in multi_act
2025-04-04 15:29:22 -07:00
Nick Sweeting 750ccb573c Merge branch 'main' into bot-detection-batch 2025-04-04 14:51:20 -07:00
john-rtr 75e1ad3596 fix: increment consecutive_failure on every step error 2025-04-03 09:01:13 +02:00
zhushijie ac38207b1a Fix: resolve undefined response variable in Deepseek model raw tool calling mode 2025-04-02 18:07:19 +08:00
neo773 94c2493b97 Merge branch 'main' into bot-detection-batch 2025-04-02 07:05:54 +05:30
neo773 c5dc3d7cfa fix CSP, Shadow DOM & Migrate to Patchright 2025-04-02 07:05:39 +05:30
BurnyCoder 02f2863fed Fix: Remove unnecessary await from _verified_api_keys 2025-04-01 22:49:14 +02:00
Nick Sweeting 015a93dd9a Merge branch 'main' into tool-use-example 2025-03-31 11:38:24 -07:00
Christian Clauss e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting 36770697c1 ruff fixes 2025-03-30 15:50:48 -07:00
Nick Sweeting 4c1014f46a Merge pull request #1230 from Alezander9/anthropic-rate-limit-handling
add anthropic RateLimitError to list of defined rate limit errors
2025-03-30 15:03:13 -07:00
Nick Sweeting 153e3eeeba silence pydantic deprecation warnings 2025-03-30 14:55:58 -07:00
Nick Sweeting da0c383988 ignore langchain beta warnings 2025-03-30 14:55:42 -07:00
Alezander9 207fc7fca4 add anthropic RateLimitError to list of defined rate limit errors 2025-03-30 13:59:05 -07:00
Nick Sweeting b365e755ee fix planner getting current page 2025-03-30 13:45:13 -07:00
Alezander9 f19349eccf improve example tool call in _init_messages to encourage model reasoning 2025-03-30 12:34:53 -07:00
Nick Sweeting 482953f2ea Merge branch 'main' into user/dyadav/add-mem0-procedural-memory 2025-03-30 11:27:48 -07:00
Federico Villa 4e2765b59a Merge branch 'browser-use:main' into main 2025-03-30 10:48:07 +02:00
Nick Sweeting 8ba9934542 make it not a hard error if no required keys are set for a model 2025-03-29 20:56:35 -07:00
Nick Sweeting b7a3658e2c fix KeyError for some models 2025-03-29 20:52:46 -07:00
Deshraj Yadav 3e135d1047 Merge branch 'main' into user/dyadav/add-mem0-procedural-memory 2025-03-29 17:24:51 -07:00
Deshraj Yadav 056dbe20e3 Add example and minor improvements 2025-03-29 17:24:21 -07:00
Federico Villa 4bc480523a Log active LLM models on agent startup
Add logs for the three types of language models:
- Main LLM
- Planner LLM
- Extraction LLM
2025-03-29 22:24:03 +01:00
Christian Clauss 28c7a487c7 pre-commit run --all-files and pytest 2025-03-29 08:10:13 +01:00
Deshraj Yadav 597c8c6e84 Incorporate suggestions 2025-03-28 19:05:50 -07:00
Deshraj Yadav f0dbcff77d Incorporate suggestions 2025-03-28 19:05:37 -07:00
Deshraj Yadav cac030c66f Change the interval to 8 2025-03-28 19:05:21 -07:00
Deshraj Yadav fdff205036 Remove pdb 2025-03-28 19:05:21 -07:00
Deshraj Yadav 55e5e2168e Add support for procedural memory 2025-03-28 19:05:21 -07:00