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
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
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
Nick Sweeting
778536a3ce
move all sync code into sync dir
2025-06-19 01:28:22 -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
mertunsall
927b286d71
Handle sensitive data in agent state and handle user request being visible in agent history in case of update
2025-06-18 15:53:35 +02:00
mertunsall
bbc8d26f63
- Updated ActionResult to include an attachments field for displaying files in the done message.
...
- Enhanced logging in the Agent class to inform users about available attachments after task completion.
- Revised system prompt guidelines to clarify the use of text and files_to_display in the done action.
2025-06-18 14:24:27 +02:00
Nick Sweeting
474476f0ae
switch to external bubus lib
2025-06-18 01:41:16 -07:00
mertunsall
b8621e1089
Improve logging and action result handling: update messages for new elements detection and adjust success flag in action results so that agent doesn't stop.
2025-06-17 18:58:17 +02:00
mertunsall
a0e60a1503
Update prompts and service files: increase max clickable elements length and enhance file writing instructions to specify allowed extensions.
2025-06-17 16:01:21 +02:00
mertunsall
0c34c399db
Merge branch 'main' into mert/new_everything
2025-06-17 11:19:06 +02:00
yasithdev
8ea4b4c71a
centralize playwright/patchwright imports, and update typing/checks to reduce lint errors
2025-06-16 22:57:20 -04:00
Nick Sweeting
d728148200
tweak logger emoji
2025-06-14 01:28:47 -07:00
Nick Sweeting
66fbb8b282
Merge branch 'main' into eventbus
2025-06-14 01:19:15 -07:00
Nick Sweeting
3c65acf225
improve conversation saving
2025-06-13 17:02:29 -07:00
Nick Sweeting
582c039c15
make save_context and other file operations async, setup traces and other dirs on startup
2025-06-12 18:38:12 -07:00
Nick Sweeting
656a129fba
include original LLM status_code in raised exception
2025-06-10 05:33:08 -07:00
Nick Sweeting
9a08e3b031
add better logging with reference ids for each object
2025-06-10 02:10:57 -07:00
Nick Sweeting
fd4d7ea07a
use llm.ainvoke non-blocking async call
2025-06-10 02:03:02 -07:00
Nick Sweeting
930a7aa4de
use self.logger for timing log lines
2025-06-10 00:24:50 -07:00
Nick Sweeting
1c7eb2b849
add some newlines in logging output to visually separate steps
2025-06-09 22:05:37 -07:00
Nick Sweeting
5a70f1f1ce
dont reset BrowserSession foreground page on Agent.__init__
2025-06-09 18:51:30 -07:00
Nick Sweeting
0cd31c8b2a
throw a hard error requiring BrowserSession to be initialized before passing it in if keep_alive=True
2025-06-09 18:35:44 -07:00
Magnus Müller
d998e95ac0
Improve error handling in LLM API calls by appending exception messages to LLMException. This change enhances the clarity of error logs in both utils.py and service.py, facilitating better debugging and traceability.
2025-06-09 22:47:03 +02:00
Magnus Müller
db74f1ade3
Refactor response logging in service.py to improve emoji representation based on evaluation state. Updated checks to be case-insensitive for 'success' and 'failure', enhancing robustness in response handling.
2025-06-09 22:19:25 +02:00
Magnus Müller
543ee984b3
Improve error handling in JSON parsing by including the exception message in the ValueError. Added debug logging for successful model output parsing in utils.py to enhance traceability and debugging.
2025-06-09 18:47:37 +02:00
Magnus Müller
574c2b23b6
Improve parameter logging in Agent class by truncating long values to 30 characters for better readability in action summaries.
2025-06-09 15:51:17 +02:00
Magnus Müller
52d4191ba9
Merge branch 'main' into mert/new_everything
2025-06-07 17:58:09 +02:00
Nick Sweeting
6d2826b37a
show 4 chars of id instead of 3
2025-06-05 23:28:53 -07:00
Nick Sweeting
48a63fa3af
whoops dont mix branch changes
2025-06-05 23:02:16 -07:00
Nick Sweeting
67b9a267db
force-start browser is is_connected is false when create_new_tab
2025-06-05 22:58:33 -07:00
Nick Sweeting
f85ca0022c
fix browser_session initialization based on old browser= arg
2025-06-05 22:57:07 -07:00
Nick Sweeting
8f057d9a12
use dedicated per-object logger for Agent and BrowserSession
2025-06-05 22:56:43 -07:00
Nick Sweeting
0c954791b1
Merge branch 'main' into eventbus
2025-06-05 22:37:36 -07:00
Nick Sweeting
c9f7aec8ce
Merge branch 'main' into eventbus
2025-06-05 22:33:49 -07:00
Nick Sweeting
80e5b03c15
Merge branch 'main' into sensitive_data
2025-06-05 22:32:25 -07:00