Skip to content

Commit 3c87951

Browse files
committed
Refine planexit prompts.
1 parent 1f4bb36 commit 3c87951

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

python_agent_harness/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
# PlanExit asks the user with the same choice UI as the Question tool:
132132
# option[0] approves the switch to build mode, anything else rejects it.
133133
PLAN_EXIT_OPTIONS = (
134-
"Yes, switch to build agent",
135-
"No, keep refining the plan",
134+
"yes, switch to build",
135+
"no, stay in plan",
136136
)
137137

138138
# ---- tools -------------------------------------------------------------------

python_agent_harness/tools/planexit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"This tool will ask the user whether they want to switch to the build "
1111
"agent and start implementing the plan. Do NOT use the Question tool "
1212
"to ask \"Is this plan okay?\" — that is what this tool is for.\n\n"
13+
"Call this tool:\n"
14+
"- After you have written a complete plan to the plan file\n"
15+
"- After you have clarified any questions with the user\n"
16+
"- When you are confident the plan is ready for implementation\n\n"
1317
"Do NOT call this tool:\n"
1418
"- Before you have created or finalized the plan\n"
1519
"- If you still have unanswered questions about the implementation\n"

0 commit comments

Comments
 (0)