add history to surface errorcode prompt (#3428)
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 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 and the HTML elements.
|
||||
Do not return any error that's not defined by the user.
|
||||
|
||||
Reply in JSON format with the following keys:
|
||||
@@ -27,6 +27,12 @@ User details:
|
||||
{{ navigation_payload_str }}
|
||||
```
|
||||
|
||||
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)
|
||||
```
|
||||
{{action_history}}
|
||||
```
|
||||
|
||||
Clickable elements from `{{ current_url }}`:
|
||||
```
|
||||
{{ elements }}
|
||||
|
||||
Reference in New Issue
Block a user