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: src/agents/planner-executor/prompts.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,10 @@ WHEN TO USE DONE:
78
78
- "Search and click product" task: DONE only AFTER clicking a product link
79
79
- "Search only" task: DONE after search results appear
80
80
- "Log in" task: DONE only AFTER the page navigates away from /login
81
+
- "Search for X" or "Find X" task: DONE after you have navigated to a result page (URL changed away from search results)
82
+
- "Go to X" or "Open X" task: DONE after you are on the target page
81
83
- If goal has multiple steps, complete ALL steps before returning DONE
84
+
- IMPORTANT: If the previous action was CLICK and the URL changed to a new page (not a search results page), the search task is likely DONE. Return DONE instead of taking more actions.
82
85
83
86
STEP ORDERING:
84
87
- If the task mentions a specific page or URL you are NOT on yet, NAVIGATE there FIRST before doing anything else.
0 commit comments