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
fix stage resolution issue with chat
Dane Schneiderb66dacac2648
diff --git a/app/server/model/plan/tell_exec.go b/app/server/model/plan/tell_exec.goindex e09b9c6d..207de4be 100644--- a/app/server/model/plan/tell_exec.go+++ b/app/server/model/plan/tell_exec.go@@ -220,7 +220,7 @@ func execTellPlan(params execTellPlanParams) {isImplementationStage := !req.IsChatOnly && !isPlanningStage- isContextStage := autoContextEnabled && isPlanningStage && !isFollowUp && !state.contextMapEmpty && !wasContextStage && (isUserPrompt || shouldLoadFollowUpContext)+ isContextStage := autoContextEnabled && isPlanningStage && (req.IsChatOnly || !isFollowUp) && !state.contextMapEmpty && !wasContextStage && (isUserPrompt || shouldLoadFollowUpContext)log.Printf("isPlanningStage: %t, isImplementationStage: %t, isContextStage: %t, isFollowUp: %t\n", isPlanningStage, isImplementationStage, isContextStage, isFollowUp)