Nick Sweeting
d6a8d86f26
raise explicit ActionNotFoundError when LLM calls non-existent action
2025-07-07 18:34:28 -07:00
Daniel T.
9d96681c8c
Corrects task enumeration in guidelines
...
Fixes the numbering format from "1" to "2" for open-ended tasks
in system prompt documentation for clearer distinction
between task types.
2025-07-07 23:38:07 +02:00
Daniel T.
17aabccde7
Enhances scrolling functionality in prompt
...
Introduces a parameter to allow scrolling by a specified number of pages, enhancing user control and efficiency during navigation tasks.
2025-07-07 23:10:02 +02:00
Daniel T.
25a40fb179
Removes redundant scrolling instruction
...
Eliminates the guideline about scrolling with num_pages parameter
from the browser usage prompts to simplify navigation instructions.
Refactors parameter handling in registry action validation by removing
unnecessary parameter cleaning, streamlining the process.
2025-07-07 23:05:09 +02:00
Magnus Müller
e4db189f17
Refactor Agent class to deprecate planner-related parameters and methods. Removed planner functionality and updated related logging and error handling. Enhanced step execution flow by consolidating methods and improving context preparation.
2025-07-07 22:27:22 +02:00
Daniel T.
c5a3c0cf2e
Refines dynamic page state calculations
...
Replaces static page statistics with dynamic calculations for
viewport and scroll position metrics. Simplifies code logic in
scroll handling by removing unnecessary defaults for page
scrolling. Improves readability and reliability of page
scroll operations by requiring explicit num_pages parameter.
Enhances page-view consistency and user interaction handling.
2025-07-07 21:22:12 +02:00
Magnus Müller
3f34c97091
refector agent method
2025-07-07 19:55:35 +02:00
Daniel T.
55c392a8a3
Merge remote-tracking branch 'upstream/main' into enhancement/improved-scroll-action
2025-07-07 19:04:35 +02:00
Daniel T.
92bd24f1a0
Standardizes string quotes and cleans up whitespace
...
Replaces double quotes with single quotes for consistency in
string declarations. Removes unnecessary trailing whitespace
across various files to improve code readability and maintain
a uniform style.
2025-07-07 18:57:30 +02:00
Daniel T.
bf878db2ab
Enhances page info in browser state
...
Adds comprehensive page information including viewport and total
page dimensions, detailed scroll position, and page statistics.
Updates message prompts to utilize this data, improving content
presentation and potential user actions.
Relates to enhanced scrolling feature.
2025-07-07 18:47:50 +02:00
Daniel T.
539274a7d4
Updates scroll functionality to use page units
...
Replaces pixel-based scrolling with page unit determination, allowing for more intuitive scroll actions by specifying the number of pages. Adjusts related documentation, examples, and tests to reflect this change for improved code consistency and user experience.
2025-07-07 18:21:37 +02:00
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