Nick Sweeting
6d36cc1dc1
add env var to SKIP_LLM_API_KEY_VERIFICATION on cloud
2025-03-27 18:22:20 -07:00
Nick Sweeting
1d0ff6617b
Merge pull request #1179 from browser-use/ctrl-c-improvements
...
Refactor ctrl-c handling to separate class
2025-03-27 17:36:49 -07:00
Nick Sweeting
88611d6561
dont store pause msgs in memory
2025-03-27 17:36:36 -07:00
Nick Sweeting
3bbb0bece7
Merge pull request #1028 from carlosplanchon/direct_html_manipulation
...
Adding parameter to Agent.run() in order to allow the developer to execute a custom Python function after Agent.step() (updated)
2025-03-27 17:33:03 -07:00
Nick Sweeting
363382a5bc
better handling of cancelled tasks, more DRY second ctrlc handling, and colorized output
2025-03-27 17:32:12 -07:00
Nick Sweeting
ad3080353b
refactor ctrl-c handling to separate class
2025-03-27 17:13:00 -07:00
Nick Sweeting
56aae21033
implement pause and resume with Ctrl+C
2025-03-27 16:30:15 -07:00
Nick Sweeting
bc71fd6d46
implement pause and resume with Ctrl+C
2025-03-27 16:29:59 -07:00
Nick Sweeting
251e041933
properly cancel current step when browser is closed or disconnected
2025-03-27 16:01:59 -07:00
Nick Sweeting
aabd8bb172
properly verify LLM api keys on startup
2025-03-27 16:01:25 -07:00
Carlos Andrés Planchón Prestes
5f20a1c994
Rewriting AgentHookFunc definition as AgentHookFunc = Callable[['Agent'], None]
2025-03-27 19:17:29 -03:00
Carlos Andrés Planchón Prestes
a97212cb53
Adding AgentHookFunc = Callable
2025-03-27 18:56:14 -03:00
Carlos Andrés Planchón Prestes
a1c0719ee2
Renaming before_step_func and after_step_func to on_step_start and on_step_end.
2025-03-27 18:54:33 -03:00
Carlos A. Planchón
78be25ac83
Update browser_use/agent/service.py
...
Co-authored-by: Nick Sweeting <github@sweeting.me >
2025-03-27 18:49:21 -03:00
Nick Sweeting
26011fafbb
verify LLM API keys work on startup
2025-03-27 14:45:52 -07:00
Carlos A. Planchón
345494f51a
Merge branch 'browser-use:main' into direct_html_manipulation
2025-03-27 18:23:40 -03:00
Anish Hiranandani
45ab623bff
moved llm api env vars dict to agent views
2025-03-27 09:03:56 -07:00
Anish Hiranandani
9ea07efdc4
support for reasoning models o1, o1-mini, etc for planner
2025-03-26 19:44:09 -07:00
Anish Hiranandani
d6133380e7
Merge branch 'main' into feature/exception-handling-llm-call
2025-03-26 18:04:54 -07:00
Anish Hiranandani
732cedae57
Added LLMException to planner call
2025-03-26 18:00:47 -07:00
Daniele Roccaforte
1c7d543bfd
Merge branch 'main' of https://github.com/browser-use/browser-use into ollama-failed-parsing-error
...
* 'main' of https://github.com/browser-use/browser-use: (269 commits)
fix for follow_up_tasks example
fix for current page detection grabbing a chrome extension service worker
add support for close_tab action
disable cross-origin iframes support for now
fix: update hatch build includes for correct package structure
fix the simple example
typofix
fix error: name 'browser_class' is not defined
Updated readme
streamlined to match other examples
Added env variables in example
Update custom-functions.mdx
fix spaces vs tabs
Update supported-models.mdx
fix chrome connecting to extension context by accident
fix broken BrowserConfig chrome_instance_path kwarg
simplify test task
fix removing contenteditable check by accident
tweak salesforce test cross-origin iframe task
ignore invisible and irrelevant cross-origin-iframes
...
2025-03-26 23:45:07 +01:00
Anish Hiranandani
74223fcf89
integrated check env in agent service
2025-03-26 15:20:40 -07:00
Anish Hiranandani
96456958fa
Update browser_use/agent/service.py
...
change LLMException error message
Co-authored-by: Nick Sweeting <github@sweeting.me >
2025-03-26 14:39:36 -07:00
Christian Clauss
ef9c7b1c09
Merge branch 'main' into pre-commit_run_pre-commit-hooks_--all-files
2025-03-26 08:00:43 +01:00
Anish Hiranandani
b4c03a0328
Handles invalid and empty env variables for openai and azure openai
2025-03-25 22:48:40 -07:00
Nick Sweeting
1cbe93f8a3
Merge pull request #998 from cheewba/bugfix/empty-dir
...
Bugfix: error when trying to create empty dir.
2025-03-25 12:52:55 -07:00
lynn
ee6a625160
fix: Move HTTPX client cleanup from agent to browser close to avoid breaking multi-agent task
2025-03-24 12:55:00 +08:00
Magnus Müller
1559ea5695
Merge pull request #1054 from vonjackustc/vonjackustc-patch-1
...
Support QwQ-32b
2025-03-23 08:51:00 -07:00
Carlos A. Planchón
9b22a59f9d
Merge branch 'browser-use:main' into direct_html_manipulation
2025-03-23 11:16:16 -03:00
Magnus Müller
514207a5bc
Merge pull request #1108 from SmartManoj/browser
...
Simplify browser setup
2025-03-23 07:04:37 -07:00
Magnus Müller
7668fa15be
Merge branch 'main' into fix-callbak-agent-not-working
2025-03-23 06:53:20 -07:00
Magnus Müller
e737544220
Merge pull request #1111 from SmartManoj/import
...
fix import
2025-03-23 06:50:29 -07:00
மனோஜ்குமார் பழனிச்சாமி
3bd1218aa6
Ignore LangChainBetaWarning
2025-03-23 11:56:59 +05:30
மனோஜ்குமார் பழனிச்சாமி
f7566b975e
fix import
2025-03-23 11:26:08 +05:30
DarkPhoenix2704
71bc8ed0ba
fix: allow callback to be sync functions
2025-03-23 09:24:06 +05:30
மனோஜ்குமார் பழனிச்சாமி
f2a38ce326
Simplify browser setup
2025-03-23 07:48:29 +05:30
Magnus Müller
c1b3925f02
Merge pull request #1015 from NvRom/user/weixche/interacted_element
...
fix: empty interacted element in history when interacted index is 0
2025-03-22 18:54:18 -07:00
Magnus Müller
3e871c6359
Merge pull request #895 from adamdelezuch89/main
...
fix: close httpx connections to avoid memory leaks
2025-03-22 18:51:33 -07:00
Carlos A. Planchón
9dc479441d
Merge branch 'browser-use:main' into direct_html_manipulation
2025-03-22 14:22:34 -03:00
Anshdeep Singh
c05980ac79
Improve: Add dynamic font sizing for large task displays in GIFs
...
- Task text rendering by implementing automatic font size adjustment
based on text length in the GIF creator.
- Longer tasks now use progressively
smaller fonts to ensure proper display while maintaining readability.
- Font size is calculated logarithmically with a minimum size threshold.
2025-03-21 01:07:22 -07:00
vonjackustc
1b7fa09ccf
Support QwQ-32b
2025-03-18 15:06:47 +08:00
Weixing Chen (from Dev Box)
b8215de46b
fix comment
2025-03-17 10:21:29 +08:00
Weixing Chen (from Dev Box)
af56e0262e
fix empty interacted element
2025-03-17 10:21:29 +08:00
Carlos Andrés Planchón Prestes
f8c81376ce
Updating to match upstream.
2025-03-14 22:13:15 -03:00
Carlos Andrés Planchón Prestes
6b76eb6ffe
Adding before_step_func.
2025-03-14 21:25:52 -03:00
alex
5dbc55bd46
Bugfix: in case of empty dirname, error raised when trying to create dirs
2025-03-11 10:25:27 +01:00
codenoid
d68d1f5019
Clean up unused import and remove trailing whitespace
...
- Removed unused 're' import from message_manager/utils.py
- Removed trailing whitespace in agent/service.py
2025-03-11 12:24:27 +07:00
codenoid
65f82588aa
Fix DeepSeek model name matching in message conversion
...
- Updated string comparison for DeepSeek model names to use 'in' operator
- Corrected string literal comparison for more flexible model name detection
2025-03-11 12:12:40 +07:00
codenoid
10f0189049
Improve DeepSeek model handling and think tag removal
...
- Enhanced model name matching for DeepSeek models using 'in' operator
- Improved think tag removal to handle stray closing tags
- Updated message conversion and plan processing for DeepSeek models
2025-03-11 12:10:11 +07:00
takuto yuki
d4b54c8e29
Update Add tokens logger
2025-03-08 20:15:02 +09:00