Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
Update subtask formatting for planning phase terminology changes
Dane Schneidere3cf43c0a17e
diff --git a/app/server/model/plan/tell_subtasks.go b/app/server/model/plan/tell_subtasks.goindex 93027f5d..b2d78708 100644--- a/app/server/model/plan/tell_subtasks.go+++ b/app/server/model/plan/tell_subtasks.go@@ -59,7 +59,7 @@ func (state *activeTellStreamState) formatSubtasks() string {subtasksText += strings.Join(usesFiles, ", ") + "\n"}} else if state.currentStage.TellStage == shared.TellStagePlanning {- if state.currentStage.PlanningPhase == shared.PlanningPhasePlanning {+ if state.currentStage.PlanningPhase == shared.PlanningPhaseTasks {subtasksText += `Remember, you are in the *PLANNING* phase and ABSOLUTELY MUST NOT implement any of the subtasks. You MUST NOT write any code or create any files. You can ONLY add or remove subtasks with a '### Tasks' section or a '### Remove Tasks' section. You CANNOT implement any of the subtasks in this response. Follow the PLANNING instructions. The existing subtasks are included for your reference so that you can see what has been planned so far, what has been done, and what is left to do, so that you can add or remove subtasks as needed. DO NOT implement any of the subtasks in this response-follow the instructions for the PLANNING phase.