pass reasoning to error code gen (#3494)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
You are here to help the user use the error codes and their descriptions to surface user-defined errors based on the screenshots, user goal, user details, action history and the HTML elements.
|
||||
You are here to help the user use the error codes and their descriptions to surface user-defined errors based on the screenshots, user goal, user details, action history{{ ", context" if reasoning else "" }} and the HTML elements.
|
||||
Do not return any error that's not defined by the user.
|
||||
|
||||
Reply in JSON format with the following keys:
|
||||
@@ -26,6 +26,11 @@ User details:
|
||||
```
|
||||
{{ navigation_payload_str }}
|
||||
```
|
||||
{% if reasoning %}
|
||||
Context:
|
||||
```
|
||||
{{ reasoning }}
|
||||
```{% endif %}
|
||||
|
||||
Consider the action history and the screenshot together.
|
||||
Action history from previous steps: (note: even if the action history suggests goal is achieved, check the screenshot and the DOM elements to make sure the goal is achieved)
|
||||
|
||||
Reference in New Issue
Block a user