Commit Graph

1537 Commits

Author SHA1 Message Date
Magnus Müller 51e087a9bd Refactor error handling in Agent class to remove asyncio.CancelledError cases and improve exception logging during action execution 2025-07-07 17:57:20 +02:00
Magnus Müller 5293cbbdcc Fix last model output position 2025-07-07 17:23:02 +02:00
Daniel T. 610419c9d7 Enhances scroll functionality with pixel control
Introduces ability to scroll by a specific number of pixels
via a new 'amount' parameter, defaulting to one page height
if unspecified. Updates relevant documentation and examples
to reflect these changes, enhancing navigation precision.

Improves user experience by allowing finer control over page
scrolling actions.

Relates to user feedback on scroll improvements.
2025-07-07 17:19:59 +02:00
Magnus Müller da22746577 Increase multi act timeouts 2025-07-07 16:44:15 +02:00
Magnus Müller 475e757d6a Move self.state.last_model_output = model_output up otherwise we dont safe it in the case of an error 2025-07-07 16:40:09 +02:00
Magnus Müller d3496874db Update test 2025-07-07 16:01:09 +02:00
Magnus Müller ea481972b1 Merge branch 'main' into better-error-handling-and-lmnr-inclusion 2025-07-07 15:33:08 +02:00
mertunsall 188642a68e fix more 2025-07-07 14:42:15 +02:00
mertunsall e107bb4690 fix 2025-07-07 14:37:03 +02:00
Mert Unsal f5ee0d6097 Merge branch 'main' into cursor/make-tool-call-example-parameter-optional-3d84 2025-07-07 14:36:07 +02:00
mertunsall 3a6a3e5d75 move examples to system prompt 2025-07-07 14:32:49 +02:00
Mert Unsal 0a5612ba29 Revert "Make tool call example parameter optional" 2025-07-07 14:32:49 +02:00
Mert Unsal f7825bf176 Revert "Make tool call example parameter optional" 2025-07-07 13:35:37 +02:00
mertunsall d25cc988b5 fix typos 2025-07-07 13:14:05 +02:00
Magnus Müller 569944eecb Merge remote-tracking branch 'origin/main' into include-lmnr 2025-07-07 12:22:05 +02:00
Cursor Agent 31718e982c Change default of include_tool_call_examples to False for reduced tokens
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-06 22:32:45 +00:00
Cursor Agent c72b9ddabd Add optional parameter to control tool call examples in Agent
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-07-06 21:53:00 +00:00
Magnus Müller d03196c09c Merge remote-tracking branch 'origin/main' into include-lmnr 2025-07-06 23:42:14 +02:00
Andrew I. Christianson 2a310355fa Merge branch 'main' into 2025-07-06-fix-schema-optimizer 2025-07-06 17:35:43 -04:00
AI Christianson a509223f9f Fix linter errors. 2025-07-06 17:34:35 -04:00
Magnus Müller 76026ea8a7 typo 2025-07-06 23:33:50 +02:00
Magnus Müller 44ff3d112a Merge remote-tracking branch 'origin/main' into system-prompt-typos 2025-07-06 23:33:11 +02:00
Magnus Müller 8f7b9e1b45 system prompt typos 2025-07-06 23:32:28 +02:00
Magnus Müller c5605fd33d typo 2025-07-06 23:31:09 +02:00
Magnus Müller 9f112786b5 system prompt login info 2025-07-06 23:30:44 +02:00
Magnus Müller a6d81b7920 Merge branch 'main' into system-prompt-alternative-ways 2025-07-06 23:22:05 +02:00
Magnus Müller 241812e522 system prompt alternative ways 2025-07-06 23:21:56 +02:00
Magnus Müller c92a53cc1e spelling mistakes 2025-07-06 23:02:05 +02:00
Magnus Müller 3217008f0c reaoning rules for user request 2025-07-06 22:58:56 +02:00
Magnus Müller 642e825660 system prompt for open ended and specifc tasks 2025-07-06 21:41:58 +02:00
Magnus Müller d8c36921a0 system prompt for open ended and specifc tasks 2025-07-06 21:36:04 +02:00
Magnus Müller bf49c77363 Update system prompt to clarify extract_structured_data 2025-07-06 21:23:22 +02:00
mertunsall 734d9d0e9e fix format 2025-07-06 18:18:32 +02:00
Mert Unsal 1124e82cd3 Merge branch 'main' into mert/fix_encoding 2025-07-06 18:15:22 +02:00
mertunsall 993417b9b2 fix example order 2025-07-06 17:44:40 +02:00
Magnus Müller 7e8eb3d571 Update label 2025-07-06 17:14:22 +02:00
Magnus Müller b9ed4e7d4f multiple images per step with label 2025-07-06 17:08:29 +02:00
Magnus Müller f85cb5ba89 Update screenshot handling in prompts and service modules to ensure proper filtering and usage of screenshots based on availability 2025-07-06 14:28:18 +02:00
Magnus Müller 5cf281f315 Add handling for zero last screenshots in AgentHistoryList.screenshots method 2025-07-06 14:25:39 +02:00
Magnus Müller 625e9db2f5 Refactor agent_history_list handling to allow optional input and filter out None values from previous screenshots 2025-07-06 14:15:32 +02:00
Magnus Müller 25392d9cde add multiple last screenshots to llm input message 2025-07-06 13:50:31 +02:00
Magnus Müller ef36632ccf Refactor observability imports to maintain consistency across modules 2025-07-05 23:12:05 +02:00
Magnus Müller a4c9b992ba Add observability module for browser-use with optional lmnr integration and debug mode support 2025-07-05 23:08:00 +02:00
Magnus Müller 09d336556f Update error logging to not confuese agent when site is not available 2025-07-05 16:03:27 +02:00
Magnus Müller bf266c6ed0 Add error msg for agent if site crashes 2025-07-05 15:46:04 +02:00
Magnus Müller 99ef62748f Add lmnr tracing 2025-07-05 15:23:38 +02:00
Magnus Müller face6a599b Enhance observability in browser and agent services
- Added `@observe` decorators to various methods in `service.py`, `session.py`, and `controller.py` to improve tracking of actions and state changes.
- Updated method signatures to include observability features for better debugging and monitoring.
- Adjusted retry logic for certain actions to enhance reliability and performance.
2025-07-05 14:44:43 +02:00
reformedot 9df2804b28 fix: improved logged CDP URL by just sending the hostname 2025-07-05 14:03:37 +02:00
reformedot 9841f4080c feat: add CDP URL to Agent Telemetry events 2025-07-05 13:13:41 +02:00
mertunsall f3e1a59642 improve 2025-07-05 01:51:00 +02:00