mertunsall
bdf5149480
fix
2025-06-27 14:19:21 +02:00
Nick Sweeting
e2777b8cbf
fix logging spacing
2025-06-27 05:19:02 -07:00
Mert Unsal
2bf61fe58d
Merge branch 'main' into cursor/remove-memory-support-and-raise-error-b7bd
2025-06-27 14:17:44 +02:00
mertunsall
a1972d6297
move
2025-06-27 14:12:00 +02:00
Mert Unsal
fb1470f2f7
Merge branch 'main' into mert/display_files_by_default
2025-06-27 14:07:11 +02:00
Nick Sweeting
8af8706646
add timeout to sync auth setup
2025-06-27 05:03:26 -07:00
mertunsall
7f8d935000
Files are displayed by default in done text
2025-06-27 14:01:33 +02:00
Mert Unsal
bda38011cd
Merge branch 'main' into cursor/remove-memory-support-and-raise-error-b7bd
2025-06-27 13:40:56 +02:00
Nick Sweeting
587dd998ac
fix unecesary eval on screenshot
2025-06-27 04:34:50 -07:00
mertunsall
5039c5aec6
remove memory
2025-06-27 13:26:34 +02:00
Cursor Agent
f9741adba5
Remove deprecated memory system and related code
...
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com >
2025-06-27 09:48:09 +00:00
Nick Sweeting
4bbae404ca
whoops
2025-06-27 02:35:59 -07:00
Nick Sweeting
c6dae628b7
fix type hinter
2025-06-27 02:35:37 -07:00
Nick Sweeting
fff91453d1
dont model_copy if possible
2025-06-27 02:33:46 -07:00
Nick Sweeting
892db27b3c
clone session inside model_copy
2025-06-27 00:44:06 -07:00
Nick Sweeting
112162cd3f
prevent parent session from being garbage collected
2025-06-26 22:35:07 -07:00
Nick Sweeting
c3bd596961
manually copy over browser_context instance when forking BrowserSession
2025-06-26 20:00:56 -07:00
Mert Unsal
785e14fed8
Merge branch 'main' into mert/fix_done_callback
2025-06-26 17:32:24 +02:00
mertunsall
7b1630b443
fix MAJOR bug with done callback being caleld twice
2025-06-26 17:31:57 +02:00
Magnus Müller
4844bd048f
Set default parameter - no memory, actions per step 10, and extraction input size
2025-06-26 17:08:15 +02:00
Nick Sweeting
327f458353
set up a unique CloudSync for each agent
2025-06-26 09:07:56 +02:00
Mert Unsal
3493e6a684
Merge branch 'main' into mert/fixfs
2025-06-26 00:45:11 +02:00
mertunsall
6b4953e922
rewrite file system
2025-06-26 00:41:56 +02:00
Gregor Žunič
35bb5e8039
Add token caching for claude ( #2108 )
...
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added token caching support for Claude models, including accurate
tracking and cost calculation for cached, cache creation, and uncached
tokens.
- **New Features**
- Added `cache` flag to messages and updated Anthropic message
serialization to support Claude's token caching.
- Updated token usage and cost tracking to handle cached tokens, cache
creation tokens, and their costs.
- Improved token usage logs to show detailed breakdowns for cached and
uncached tokens.
- Added tests for Anthropic cache serialization and cost calculation.
<!-- End of auto-generated description by cubic. -->
2025-06-25 21:28:42 +02:00
Gregor Žunič
2ee526d903
updated pricing for cached tokens support
2025-06-25 15:33:47 +02:00
mertunsall
b2b95b086a
tell allowed extensions to the model
2025-06-25 09:33:42 +02:00
mertunsall
fa60e747d9
mr cloudrunner
2025-06-24 23:02:08 +02:00
Cursor Agent
bf63d1843c
Add optional thinking field with flexible system prompt configuration
2025-06-24 14:17:24 +00:00
Cursor Agent
d57850639b
Make thinking field optional in browser-use agent
2025-06-24 12:40:07 +00:00
Mert Unsal
1d47b15bfe
Merge branch 'main' into feature/squashed-langchain-to-native
2025-06-24 13:09:18 +02:00
mertunsall
53d277a2e3
- file system is initialized based on agent id
...
- available file paths are updated when something is downloaded
2025-06-24 12:36:44 +02:00
Gregor Žunič
7a10ae0c96
Squashed commit langchain to native
2025-06-24 12:26:55 +02:00
Mert Unsal
2113604c16
Merge branch 'main' into mert/hotfix
2025-06-24 00:21:58 +02:00
mertunsall
73d5a2ff60
hotfix
2025-06-24 00:21:10 +02:00
mertunsall
9edffbdd10
move filesystem controllers
2025-06-23 23:56:51 +02:00
mertunsall
4febeeada0
make available_file_paths more reliable
2025-06-23 21:46:17 +02:00
mertunsall
c40b5c89f4
Fix <available_file_paths>
2025-06-23 16:00:56 +02:00
mertunsall
c6642afbab
More explicit memory in read_file
2025-06-23 13:51:38 +02:00
Nick Sweeting
b67be37490
fix type hint errors
2025-06-21 04:35:24 -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
7701180968
allow passing cloud_sync to agent
2025-06-21 03:14:46 -07:00
Nick Sweeting
49e9fd4ff2
move env var config to utils file
2025-06-21 03:14:46 -07:00
Nick Sweeting
5db131c11b
set BROWSERUSE_CLOUD_SYNC to default to the value of ANONYMIZED_TELEMETRY
2025-06-21 01:02:31 -07:00
Magnus Müller
c4f1b5f935
Fix parsing error handling - the entire tool call is in tool_call_args. Before it parsed it wrong with no error
2025-06-20 07:32:24 +02:00
Magnus Müller
ad446f5769
Merge branch 'main' into mert/new_everything
2025-06-19 23:45:41 +02:00
Magnus Müller
1b372653a1
Enhance error handling in Agent class by adding a check for action length after parsing tool calls. Raise a ValueError with detailed information if no actions are parsed, improving clarity in error reporting.
2025-06-19 23:39:38 +02:00
Magnus Müller
90ae26316e
Refactor ActionResult to standardize the inclusion of extracted content, replacing update_only_read_state with include_extracted_content_only_once across multiple services. This change enhances clarity in memory management and ensures consistent handling of extracted content.
2025-06-19 23:18:30 +02:00
Magnus Müller
ce880e5e35
Refactor ActionResult handling across multiple services to standardize the use of long_term_memory, replacing memory references. Update related logic to ensure extracted content is consistently managed for improved clarity and error handling.
2025-06-19 23:11:55 +02:00
Magnus Müller
c62d14d9ed
Update action result handling in service.py to include extracted content in memory for paused agent states and SERPER API key checks, enhancing error reporting consistency.
2025-06-19 22:52:53 +02:00