Commit Graph

1537 Commits

Author SHA1 Message Date
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
Nick Sweeting 297c5539a6 Merge branch 'main' into feature/support-reasoning-models 2025-03-28 18:22:05 -07:00
Nick Sweeting 89d48ad50f manually fix remaining broken lines 2025-03-28 18:13:47 -07:00
Nick Sweeting fb6fa259a8 apply ruff safe fixes 2025-03-28 18:11:36 -07:00
Anish Hiranandani 3710687850 commit after running ruff check 2025-03-28 17:53:38 -07:00
Anish Hiranandani f5833ad53d Merge branch 'main' into feature/support-reasoning-models 2025-03-28 17:20:08 -07:00
Anish Hiranandani cb2323118f Update browser_use/agent/views.py
Fix comma typo

Co-authored-by: Nick Sweeting <github@sweeting.me>
2025-03-28 17:13:27 -07:00
Nick Sweeting 588a9f9f50 Merge branch 'main' into pre-commit_run_pre-commit-hooks_--all-files 2025-03-28 16:17:47 -07:00
Nick Sweeting 226eb99a4f Merge branch 'main' into ruff-linting 2025-03-28 15:44:47 -07:00
Nick Sweeting b5ec945b74 check platform at startup 2025-03-28 14:41:28 -07:00
Nick Sweeting b892b75fdc update dev setup docs 2025-03-28 01:11:10 -07:00
Nick Sweeting a881ab9c34 rename available_actions to unfiltered_actions to better describe it 2025-03-28 00:46:54 -07:00
Nick Sweeting b89476e38a make sure models that dont support tool calling have correct context 2025-03-27 23:50:43 -07:00
Nick Sweeting 5535a1ec0a update pydantic action models exposed to LLM on each page 2025-03-27 23:43:31 -07:00
Nick Sweeting f941a5cec9 add support for filtering actions by func or domain globs 2025-03-27 19:04:17 -07:00
Nick Sweeting b0f48fdaa2 more truthies 2025-03-27 18:23:25 -07:00