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
`# You WILL call this tool(\`{toolName}\`) AGAIN using the \`{nextAction}\` action, after evaluating the result from previous action({currentAction}):`,
You MUST call tool \`{toolName}\` again with the \`{nextAction}\` action to continue the autonomous execution sequence.
215
+
216
+
**Instructions:**
217
+
- Analyze the result from previous action: \`{currentAction}\`
218
+
- Execute the next planned action: \`{nextAction}\`
219
+
- Maintain execution context and progress toward the final goal`,
193
220
194
221
/**
195
222
* Planning prompt when no next action is specified
196
223
*/
197
224
PLANNING_PROMPT:
198
-
`# You WILL plan next action if the user request needs additional actions to be fulfilled, after evaluating the result from previous action({currentAction}):`,
225
+
`**Action Evaluation & Planning Required** 🎯
226
+
227
+
Previous action (\`{currentAction}\`) completed. You need to determine the next step.
228
+
229
+
**Evaluation & Planning Process:**
230
+
1. **Analyze Results:** Review the outcome of \`{currentAction}\`
231
+
2. **Assess Progress:** Determine how close you are to fulfilling the user request
232
+
3. **Plan Next Action:** Identify the most appropriate next action (if needed)
233
+
4. **Execute Decision:** Call \`{toolName}\` with the planned action
234
+
235
+
**Options:**
236
+
- **Continue:** If more actions are needed to fulfill the request
237
+
- **Complete:** If the user request has been fully satisfied
238
+
239
+
Choose the next action that best advances toward completing the user's request.`,
0 commit comments