Magnus Müller
ba7df96250
Fix Rust Agent Laminar usage telemetry
2026-06-04 16:54:54 +00:00
Magnus Müller
1474c60da1
Merge remote-tracking branch 'upstream/main' into magnus/browser-use-rust-core-integration
...
# Conflicts:
# browser_use/__init__.py
# browser_use/agent/service.py
# browser_use/browser/watchdogs/downloads_watchdog.py
# browser_use/code_use/utils.py
# browser_use/llm/models.py
# browser_use/tokens/service.py
# browser_use/utils.py
2026-06-04 16:14:57 +00:00
Magnus Müller
c2b5a2682b
Price Rust terminal usage summaries
2026-06-04 15:12:57 +00:00
Saurav Panda
db39960431
fix(tokens): add OpenRouter pricing fallback
2026-05-22 13:53:29 -07:00
Saurav Panda
81f5c49854
fix(tokens): map gemini-3.1-flash-lite to litellm preview slug
...
LiteLLM only recognizes gemini/gemini-3.1-flash-lite-preview today; the GA
slug fails the model lookup. Keeps the user-facing name unchanged.
2026-05-22 11:03:14 -07:00
Saurav Panda
5c54ef4197
chore(llm): rename flash-lite recommendation to gemini-3.1-flash-lite
2026-05-22 10:49:12 -07:00
Saurav Panda
b00c41b66b
chore(llm): recommend gemini-3-flash-preview in examples and tests
...
- add gemini-3-flash-preview-lite to VerifiedGeminiModels and token mappings
- list both gemini-3-flash-preview[-lite] alongside existing -latest aliases in CLOUD.md and api-v2.md SupportedLLMs
- swap example code and recommendations (examples/, AGENTS.md, quickstart.md, bug report placeholder) to gemini-3-flash-preview / -lite
- update Google CI test + evaluate_tasks judge LLM to gemini-3-flash-preview / -lite
2026-05-22 10:47:58 -07:00
Saurav Panda
83c8690f0b
chore(llm): point smart pricing alias at bu-2-0
...
Keep the 'smart' alias in lockstep with bu-latest now that both
default to bu-2-0.
2026-05-20 12:05:39 -07:00
Saurav Panda
02daa7d80d
chore(llm): default ChatBrowserUse to bu-2-0
...
Make bu-2-0 the default model and point bu-latest at it (was bu-1-0).
Pricing alias for bu-latest now tracks bu-2-0 too.
2026-05-20 12:05:04 -07:00
Laith Weinberger
3242d9dbc2
fix: use object.__setattr__ for LLM ainvoke patching to avoid pydantic crash
2026-04-08 17:20:46 -04:00
Laith Weinberger
f6c6046215
fix pricing url cache cleanup and remove phantom code_use module
2026-03-25 18:16:53 -04:00
matt-greathouse
61b2ee6c5b
feat(tokens): allow overriding model pricing URL
2026-03-23 07:52:50 -04:00
matt-greathouse
1c5020050c
feat(tokens): allow overriding model pricing URL
2026-03-23 07:52:48 -04:00
Saurav Panda
2895720eb0
fix: remove unused variable assignments
2026-03-07 14:37:31 -08:00
Saurav Panda
c011c529fc
feat: add bu-2-0 pricing
2026-01-27 10:35:41 -08:00
reformedot
b4e9ffa984
refactor: implement error handling for asyncio tasks across various components
...
- Introduced a utility function `create_task_with_error_handling` to manage asyncio tasks with proper exception logging and suppression options.
- Updated multiple components, including `SessionManager`, `BrowserSession`, and various watchdogs, to utilize the new error handling mechanism for background tasks.
- Enhanced overall robustness of asynchronous operations by ensuring exceptions are logged and handled appropriately, improving maintainability and debugging capabilities.
2025-11-11 17:27:54 -08:00
Magnus Müller
3c99e03936
set price for bu model
2025-11-03 14:49:12 -08:00
Magnus Müller
ff51f1e520
Add custom pricing for 'bu-latest' model in custom_pricing.py
...
- Introduced pricing details for the 'bu-latest' model, specifying input and output costs per token, along with cache read costs.
- This update enhances the pricing structure for better cost management in the Browser-Use library.
2025-11-02 21:34:07 -08:00
Magnus Müller
821472ba0b
Update CodeAgent to use CodeAgentTools and add custom pricing for new models
...
- Refactored CodeAgent to utilize CodeAgentTools instead of the generic Tools class for enhanced functionality.
- Introduced custom pricing for 'bu-latest' and 'smart' models, specifying input and output costs per token, along with cache read costs.
This update improves the agent's tool capabilities and introduces new pricing structures for better cost management.
2025-11-02 21:32:53 -08:00
Saurav Panda
8d9bcd427a
docs: added pricing for bu llm
2025-10-29 15:19:40 -07:00
Magnus Müller
9caa248316
Merge code7 branch changes
2025-10-21 18:55:54 -07:00
Magnus Müller
5c4adb2903
Clean logs
2025-10-11 11:42:40 -07:00
Gregor Žunič
61b15ac243
model pricing
2025-10-10 11:04:42 -07:00
Sandeep
5e0d3e4a2e
Merge branch 'main' into oracle_oci_integration
...
# Conflicts:
# browser_use/llm/models.py
2025-10-09 01:04:11 +05:30
Magnus Müller
de0488031d
Squashed commit of the following:
...
commit 92d1732a40
Merge: fa4ff47a efcd2b33
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 08:18:35 2025 -0700
Merge main
commit fa4ff47ae4
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 08:03:04 2025 -0700
Laminar info mode
commit 8625aa9ba9
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 08:02:54 2025 -0700
Default to flash for browser use llm
commit 69a517ad7c
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 08:02:44 2025 -0700
Update example
commit c91467c51d
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 08:02:15 2025 -0700
Update example
commit 4e2b3f1306
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 07:54:05 2025 -0700
Linter
commit e8d6936a47
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 07:53:43 2025 -0700
Example
commit 961d6fc451
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 07:52:23 2025 -0700
Update default links
commit 0b2853859b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Wed Oct 8 07:44:59 2025 -0700
Default fast fasle
commit 9d67594b63
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 22:01:24 2025 -0700
Simplify
commit f5712bdec0
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 21:45:00 2025 -0700
Parsing json
commit 503af624dd
Merge: ef7fa1e4 0d2522b1
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 21:04:31 2025 -0700
Merge branch 'flat-output' of https://github.com/browser-use/browser-use into flat-output
commit ef7fa1e401
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 21:04:28 2025 -0700
Add prompt description handling for browser-use cloud service
- Enhanced the Agent class to generate and pass prompt descriptions to the LLM when using the browser-use provider.
- Updated the ChatBrowserUse class to accept an optional prompt_description parameter in the ainvoke method.
- Modified the tracked_ainvoke function in TokenCost to forward additional keyword arguments.
- Adjusted example model to initialize Laminar for tracing.
commit 0d2522b1f9
Author: Gregor Žunič <36313686+gregpr07@users.noreply.github.com >
Date: Tue Oct 7 20:23:39 2025 -0700
updated default base url
commit 0a2e6d6520
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 18:50:56 2025 -0700
Hide api key
commit 96bba9692b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 18:49:05 2025 -0700
Add env var loading and validation to ChatBrowserUse, update example
commit c2e57a3bab
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 18:36:31 2025 -0700
Linter
commit 3d4cc1dbec
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 16:28:10 2025 -0700
Rename
commit 14ab0b75fe
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 16:21:52 2025 -0700
Rename super_fast to fast parameter in ChatBrowserUse
commit 7fab3c47d3
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 16:08:10 2025 -0700
Update system prompt
commit 2066e77b98
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 16:07:51 2025 -0700
Del claude file
commit 297b767e91
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 16:01:50 2025 -0700
Revert flash system prompt to JSON format
- Reverted system_prompt_flash.md to main (JSON format)
- Added examples/models/browser_use_cloud.py for llm-use cloud service
- llm-use service will inject unstructured format on the server side
commit 99af55f8e9
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 15:58:40 2025 -0700
Example
commit 657ff0d352
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 15:54:23 2025 -0700
Remove unused
commit a42123d8e5
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 15:49:54 2025 -0700
ignore
commit de4fe19020
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 15:48:01 2025 -0700
Example
commit 27e5ab9947
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 14:29:01 2025 -0700
Add llm-use cloud client example
- ChatLLMUseCloud: Browser-use compatible client for llm-use service
- Implements BaseChatModel protocol with proper typing
- Includes credit checking before/after tasks
- Error handling for 401/402/500 responses
- Converts messages between browser-use and HTTP API formats
- Returns ChatInvokeCompletion with usage stats
Usage:
export LLM_USE_URL='https://your-app.railway.app '
export LLM_USE_API_KEY='your-key'
python examples/llm_use_cloud_client.py
commit a47a448005
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Tue Oct 7 13:03:59 2025 -0700
Enhance response parsing in ChatBrowserUse to handle structured data from the API, including debug logging for received data keys.
commit e79c7dc633
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Mon Oct 6 19:39:29 2025 -0700
Include browser-use llm
commit 584d977154
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Mon Oct 6 17:55:31 2025 -0700
Linter
commit b0ac87076a
Merge: 1183b8fe 0076775f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Mon Oct 6 15:01:37 2025 -0700
merge main
commit 1183b8fe6b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 16:26:34 2025 -0700
Fix done output action model
commit 852449b1bc
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 16:23:31 2025 -0700
More debug info
commit a57ba25d36
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 16:07:15 2025 -0700
Multiline parser
commit 2153dbe6aa
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 15:50:14 2025 -0700
Fix custom output
commit ec5c08ba0f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 15:36:54 2025 -0700
Fix files in output
commit 7444048e8f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 15:28:09 2025 -0700
Update codebase with unstructured output
commit a8f05b4611
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 14:55:20 2025 -0700
Save systemprompt
commit d7d112c569
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Sun Oct 5 14:51:24 2025 -0700
new parser
2025-10-08 08:39:24 -07:00
Talapally Sandeep Kumar
075f663dbf
Merge branch 'main' into oracle_oci_integration
2025-09-23 15:41:03 +05:30
Sandeep
3cc8f06e65
fixed code style
2025-09-16 12:44:58 +05:30
Sandeep
2cf9a7dbd5
Solved all the comments raised
2025-09-16 12:24:22 +05:30
Sandeep
bbb23f58cc
fixed ruff linter issues
2025-09-16 03:03:24 +05:30
Sandeep
6ef1542a80
fixed lint issues
2025-09-16 02:52:33 +05:30
Sandeep
e2b1c3b668
Integrated Oracle ChatOciRaw
2025-09-16 01:38:04 +05:30
Sandeep
5bb1c16ec7
added oci test cases for test_cost
2025-09-15 11:51:56 +05:30
Cyrus
9d7dfd7738
replace aiofiles with anyio.Path
2025-09-08 11:37:34 -06:00
Magnus Müller
8c1b4bf794
Update info logger to debug
2025-08-18 23:37:31 -07:00
Magnus Müller
acb7487bdf
Cost logged as debug
2025-08-18 23:07:38 -07:00
Magnus Müller
c1331604c7
Remove print
2025-08-18 23:00:18 -07:00
2pac
4195cdfb6e
fix: By model cost compute
2025-07-28 13:39:26 +02:00
Gregor Žunič
b37e026f89
added usage data to agent history and evals
2025-06-29 11:28:20 +02:00
Gregor Žunič
e8b1fae75a
fixed cost display
2025-06-25 21:09:14 +02:00
Gregor Žunič
b4c900d3e5
better logs for tokens
2025-06-25 20:57:22 +02:00
Gregor Žunič
2ee526d903
updated pricing for cached tokens support
2025-06-25 15:33:47 +02:00
Gregor Žunič
9cee39db38
turned off non usage llm logs
2025-06-25 10:56:57 +02:00
Gregor Žunič
2f833b2713
better logs for tokens
2025-06-25 10:54:05 +02:00
Gregor Žunič
160d0160fb
small fixes
2025-06-24 14:20:15 +02:00
Gregor Žunič
b2cbe6d6f5
catch tokens in different way
2025-06-24 13:05:33 +02:00
Gregor Žunič
7a10ae0c96
Squashed commit langchain to native
2025-06-24 12:26:55 +02:00