You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/core/src/ai-model/prompt/llm-planning.ts
+12-7
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ By viewing the page screenshot and description, you should consider this and out
136
136
* The language switch button is shown in the screenshot, but it's not marked with a rectangle. So we have to use the page description to find the element. By carefully checking the context information (coordinates, attributes, content, etc.), you can find the element.
137
137
* The "English" option button is not shown in the screenshot now, it means it may only show after the previous actions are finished. So don't plan any action to do this.
138
138
* Log what these action do: Click the language switch button to open the language options. Wait for 1 second.
139
-
* The task cannot be accomplished (because we cannot see the "English" option now), so the \`finish\` field is false.
139
+
* The task cannot be accomplished (because we cannot see the "English" option now), so the \`more_actions_needed_by_instruction\` field is true.
140
140
141
141
{{
142
142
"actions":[
@@ -153,7 +153,7 @@ By viewing the page screenshot and description, you should consider this and out
153
153
}}
154
154
],
155
155
"error": null,
156
-
"finish": false,
156
+
"more_actions_needed_by_instruction": true,
157
157
"log": "Click the language switch button to open the language options. Wait for 1 second",
158
158
}}
159
159
@@ -176,13 +176,13 @@ Wrong output:
176
176
"locate": null, // This means the 'English' option is not shown in the screenshot, the task cannot be accomplished
177
177
}}
178
178
],
179
-
"finish": true, // WRONG: should be false
179
+
"more_actions_needed_by_instruction": false, // WRONG: should be true
180
180
"log": "Click the language switch button to open the language options",
181
181
}}
182
182
183
183
Reason:
184
184
* The \`prompt\` is missing in the first 'Locate' action
185
-
* Since the option button is not shown in the screenshot, there are still more actions to be done, so the \`finish\` field should be false
185
+
* Since the option button is not shown in the screenshot, there are still more actions to be done, so the \`more_actions_needed_by_instruction\` field should be true
0 commit comments