mingzhong.li
dbae589623
fix: fixing open file encoding error in windows
2025-06-22 17:52:14 +08:00
mertunsall
95ca883894
Update system prompt
2025-06-21 23:36:48 +02:00
mertunsall
b4783745b9
Revert "Enhance system prompt reasoning ( #2022 )"
...
This reverts commit 25a2eecbfd , reversing
changes made to 8194ecbc3e .
2025-06-21 23:27:19 +02:00
Nick Sweeting
6bc1f7985f
more type hint fixes
2025-06-21 04:56:27 -07:00
Nick Sweeting
340bafdd29
move old tests to old folder
2025-06-21 04:47:46 -07: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
c973553152
up max string lengths
2025-06-21 03:14:47 -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
Mert Unsal
64eeac9a17
Update browser_use/agent/system_prompt.md
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 22:45:44 +02:00
mertunsall
16708e916d
Enhance system prompt reasoning
...
- Improve clarity on using extract_structured_data and user request processing.
- Added guidance on file system to avoid overwriting existing content.
- Included additional reasoning patterns for better task management and progress tracking.
2025-06-20 22:42:21 +02:00
Mert Unsal
97bd9fb3d2
Update browser_use/agent/message_manager/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 21:31:51 +02:00
mertunsall
f3b406f42a
Quick Fix to History
2025-06-20 21:28:06 +02:00
mertunsall
9ae6354b76
- Change reasoning rules in system prompt
...
- Flatten AgentOutput to get rid of current_state
- Add agent initialization in history.
- Update the example tool call.
- Add a current_state property to AgentOutput for compatibility.
2025-06-20 18:55:04 +02:00
Magnus Müller
907867f976
Refactor agent history update logic to handle None model_output case, ensuring proper logging and description formatting for failed parsing scenarios.
2025-06-20 09:28:23 +02:00
Magnus Müller
eda5140363
Improve error logging in message manager by appending ellipsis to truncated error messages for better clarity in action results.
2025-06-20 08:27:46 +02:00
Magnus Müller
1a891202ea
Enhance system prompt documentation by clarifying the structure of the JSON response. Added important notes regarding the top-level elements "current_state" and "action" to improve understanding of the expected format.
2025-06-20 08:25:48 +02:00
Magnus Müller
3af0a37e71
Rename step information
2025-06-20 07:47:35 +02:00
Magnus Müller
8b93dc626f
Only show task once
2025-06-20 07:35:02 +02: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
mertunsall
0c2de169f8
Update maximum length constants in cloud_events.py to accommodate larger data sizes: MAX_STRING_LENGTH increased to 100K, MAX_URL_LENGTH and MAX_TASK_LENGTH adjusted to 10K.
2025-06-20 01:13:23 +02:00
Mert Unsal
b77393917d
Apply suggestions from code review
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 01:00:39 +02:00
Mert Unsal
198dd161b8
Update browser_use/agent/system_prompt.md
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 00:56:37 +02:00
Mert Unsal
832c59c9c3
Update browser_use/agent/system_prompt.md
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 00:56:17 +02:00
Magnus Müller
2ee381d283
Refactor message_manager tests to use a temporary file system path, enhancing isolation and reliability of test cases.
2025-06-20 00:18:48 +02:00
Magnus Müller
831682e2a3
Add FileSystem dependency to message_manager tests
2025-06-20 00:13:06 +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
Magnus Müller
477ec27a86
Refactor action result handling in service.py to improve clarity and logic flow. Update conditions for including extracted content and memory in action results.
2025-06-19 22:43:00 +02:00
Magnus Müller
cdd1bd7f1c
Update agent_history_description format in service.py to include user_request tags for improved clarity in message logging.
2025-06-19 18:52:08 +02:00
Magnus Müller
8af844d851
Merge branch 'mert/new_everything' of https://github.com/gregpr07/agentweb into mert/new_everything
2025-06-19 18:46:16 +02:00
Magnus Müller
8a09999e3b
Enhance tab identification logic in prompts.py for improved accuracy and clarity. Update pyproject.toml to include a missing comma in dev-dependencies.
2025-06-19 18:46:13 +02:00
Magnus Müller
b60f59c616
Update step information description in prompts.py for improved clarity
2025-06-19 18:35:48 +02:00
mertunsall
e99d8f1635
Remove logging of done action not being executed in multiact
2025-06-19 18:34:09 +02:00
Nick Sweeting
36c88b760c
Consolidate sync related code ( #2009 )
2025-06-19 07:41:28 -07:00
mertunsall
9b1caccbf6
Clarify action rules in system prompt to enhance understanding of action execution limits and reasoning traces.
...
Include example reasoning traces.
2025-06-19 16:37:30 +02:00
mertunsall
03c80a7493
Reduce max actions per step in Agent class from 10 to 1 for improved control over action execution.
2025-06-19 16:34:34 +02:00
Nick Sweeting
f463a9383c
init and config fixes
2025-06-19 07:20:43 -07:00
mertunsall
9bc619877c
small change to system prompt
2025-06-19 15:20:37 +02:00
mertunsall
129590672d
small update to descriptions
2025-06-19 14:09:06 +02:00
Nick Sweeting
778536a3ce
move all sync code into sync dir
2025-06-19 01:28:22 -07:00
Nick Sweeting
ccd11e26f5
remove unneeded event_type fields
2025-06-19 01:19:30 -07:00
Magnus Müller
0b6ebea431
Merge branch 'main' into mert/new_everything
2025-06-19 09:49:43 +02:00
Yasith Jayawardana
e2e11966d3
Merge branch 'main' into typing-improvements
2025-06-18 21:20:47 -04:00