Commit Graph

114 Commits

Author SHA1 Message Date
guybensimhon1
dc24574e7c Separated internal output model from suplied model, and fixed a parsing bug of Enum fields 2025-03-06 19:41:20 +02:00
shudaizi1989
5b08613a27 Fix:mutable default argument. (#901) 2025-03-02 12:52:30 -08:00
Magnus Müller
ac07642b6c Improve type safety and clarify task completion instructions
- Add type hints and type ignore comments in service.py for image message handling
- Update system prompt to provide clearer guidance on done action usage
- Refine action description for done action in controller service
- Enhance documentation for task completion scenarios
2025-02-23 09:31:01 -08:00
Magnus Müller
84f5f1cf8b Instruction for unfinished tasks 2025-02-23 09:15:40 -08:00
Magnus Müller
88f018ad81 Update system prompt and service for task completion handling
- Modify system prompt to clarify done action usage when max steps are reached
- Update service to provide more descriptive action description for task completion
- Add explicit handling for task success status in done action
- Enhance documentation for done action to indicate task completion state
2025-02-23 09:03:59 -08:00
Magnus Müller
d881b9f61d Enhance agent task completion and max steps handling
- Add support for creating a done-only action model
- Modify logging to distinguish between successful and unfinished tasks
- Update agent to switch to done action model when max steps are reached
- Improve system prompt to clarify done action usage in max steps scenario
- Extend registry action model creation to support filtering actions
2025-02-23 07:46:21 -08:00
Magnus Müller
c07b5c9a94 Add last step warning and enhance action result tracking
- Introduce warning message for the last step in the agent
- Add `success` parameter to `ActionResult` and `DoneAction`
- Modify `AgentStepInfo` to check for last step
- Update `AgentHistoryList` methods to handle optional values and success status
2025-02-22 23:43:41 -08:00
Magnus Müller
1dfc72aac4 Wait function 2025-02-22 10:33:52 -08:00
Magnus Müller
bf5b180da5 Include timings for more functions 2025-02-21 16:18:43 -08:00
Magnus Müller
32445bd0d1 New selector map 2025-02-20 11:13:11 -08:00
Henry
e174508b96 Fix inconsistent indentation in controller/views.py 2025-02-18 17:35:50 -08:00
Magnus Müller
75d7e455a4 Merge remote-tracking branch 'origin/gregor/random-restructure' into dev 2025-02-18 12:05:17 -08:00
Magnus Müller
bbba06b46a Merge branch 'LIB-41-fix-extraction-for-text-fields-in-iframe-bodies' into dev 2025-02-18 11:41:27 -08:00
Magnus Müller
5b4f297f44 Include escape 2025-02-17 19:31:25 -08:00
Matic Zavadlal
a5a026b053 remove lmnr 2025-02-17 13:18:38 +01:00
Matic Zavadlal
13e643ef0c add context 2025-02-16 14:55:20 +01:00
jersobh
bba15ff4bd add a arg to avoid logging senstive data into input_text actions on controller logs 2025-02-14 11:41:36 +00:00
Gregor Žunič
aa19548eff outsourced state v1 2025-02-13 21:48:00 -08:00
Matic Zavadlal
88dfabea5b Merge branch 'main' into matic/random 2025-02-13 13:33:09 +01:00
Matic Zavadlal
7d7582586e stash 2025-02-13 13:32:18 +01:00
Magnus Müller
7a88f1afd2 Fix send_keys for words in natural langugae 2025-02-12 23:03:07 -08:00
Matic Zavadlal
543d01f250 stash 2025-02-10 22:48:23 +01:00
Morris Lee
defec5b9f6 to fix agent test by adding ExtractPageContentAction into controller views 2025-02-08 18:28:46 +08:00
magmueller
ea3fd5b083 Check if file paths are allowed 2025-02-04 22:34:15 -08:00
Magnus Müller
4c1cf95f23 Merge branch 'main' into o3-mini+gpt4o 2025-02-04 16:37:12 -08:00
magmueller
572034915a Tell the agent if something new appears 2025-02-04 16:33:12 -08:00
Robert Kim
d9d5a61508 improved observability 2025-02-04 18:24:13 +00:00
magmueller
0e107dc5d1 Check for pause more often 2025-02-01 18:33:44 -08:00
magmueller
947ef4d3ea Filter out interessting information 2025-02-01 00:58:55 -08:00
magmueller
0b10682651 Process sensitive data 2025-02-01 00:44:48 -08:00
magmueller
a533780279 Fallback if model is not working 2025-02-01 00:21:25 -08:00
magmueller
bef3b03da9 Extract always first content with llm and keep that extraction in context 2025-02-01 00:09:55 -08:00
magmueller
23a4481175 Enabled extraction with llm 2025-01-31 23:38:23 -08:00
Magnus Müller
49bfb4d77c Merge pull request #416 from j0yk1ll/enable_downloads
fix: enable downloads
2025-01-29 22:17:42 -08:00
j0yk1ll
7c93f6c0e8 fix: could not parse response on go_back action 2025-01-26 15:49:27 +01:00
j0yk1ll
400c8b813a fix: enable downloads 2025-01-26 15:44:44 +01:00
magmueller
ac82f2cbd1 Allow custome output 2025-01-25 10:44:19 -08:00
magmueller
e7c49bfcac Error handling for restricted domains 2025-01-23 16:53:23 -08:00
magmueller
f59dade4b3 Option to exclude actions 2025-01-21 13:18:19 -08:00
magmueller
df5a63178f Let user define initial action to take 2025-01-21 10:46:54 -08:00
magmueller
10224f4b88 Include the action description inside the schema 2025-01-20 08:05:39 -08:00
magmueller
7711946199 End of file line 2025-01-19 17:16:53 -08:00
magmueller
9b6a61b0f0 Merge branch 'handle-react-select' of https://github.com/shyam-king/browser-use into shyam-king-handle-react-select 2025-01-19 16:01:19 -08:00
Magnus Müller
440e5776f2 Merge branch 'main' into select-drop-down-options-by-value 2025-01-13 11:30:23 -08:00
magmueller
a9d095e365 No default value try 2025-01-13 07:18:13 -08:00
magmueller
d24e157106 Fix default is not permitted 2025-01-13 07:13:30 -08:00
magmueller
5f6b23bc11 Log button name 2025-01-12 22:10:07 -08:00
magmueller
18a42db882 Only option for markdown or text depending if links are needed 2025-01-12 18:16:53 -08:00
magmueller
82884d6d64 Include text of button when clicked 2025-01-12 17:49:12 -08:00
michaelgathara
0224021809 feat: disallow Google AI Overview on search 2025-01-10 07:00:54 -06:00