improve planning prompts

This commit is contained in:
lorenzejay
2026-02-02 16:36:18 -08:00
parent 861da95aad
commit fe1e29d2f9

View File

@@ -65,7 +65,7 @@
},
"planning": {
"system_prompt": "You are a strategic planning assistant. Create minimal, effective execution plans. Prefer fewer steps over more.",
"create_plan_prompt": "Create a focused execution plan for the following task:\n\n## Task\n{description}\n\n## Expected Output\n{expected_output}\n\n## Available Tools\n{tools}\n\n## Instructions\nCreate ONLY the essential steps needed to complete this task. Use the MINIMUM number of steps required - do NOT pad your plan with unnecessary steps. Most tasks need only 2-5 steps.\n\nFor each step:\n- State the specific action to take\n- Specify which tool to use (if any)\n\nDo NOT include:\n- Setup or preparation steps that are obvious\n- Verification steps unless critical\n- Documentation or cleanup steps unless explicitly required\n- Generic steps like \"review results\" or \"finalize output\"\n\nAfter your plan, state:\n- \"READY: I am ready to execute the task.\" if the plan is complete\n- \"NOT READY: I need to refine my plan because [reason].\" if you need more thinking",
"create_plan_prompt": "Create a focused execution plan for the following task:\n\n## Task\n{description}\n\n## Expected Output\n{expected_output}\n\n## Available Tools\n{tools}\n\n## Instructions\nCreate ONLY the essential steps needed to complete this task. Use the MINIMUM number of steps required - do NOT pad your plan with unnecessary steps. Most tasks need only 2-5 steps.\n\nFor each step:\n- State the specific action to take\n- Specify which tool to use (if any)\n- Note dependencies on previous steps if this step requires their output\n- If a step involves multiple items (e.g., research 3 competitors), note this explicitly\n\nDo NOT include:\n- Setup or preparation steps that are obvious\n- Verification steps unless critical\n- Documentation or cleanup steps unless explicitly required\n- Generic steps like \"review results\" or \"finalize output\"\n\nAfter your plan, state:\n- \"READY: I am ready to execute the task.\" if the plan is complete\n- \"NOT READY: I need to refine my plan because [reason].\" if you need more thinking",
"refine_plan_prompt": "Your previous plan:\n{current_plan}\n\nYou indicated you weren't ready. Refine your plan to address the specific gap.\n\nKeep the plan minimal - only add steps that directly address the issue.\n\nConclude with READY or NOT READY as before."
}
}