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
skip context phase for req.IsApplyDebug
Dane Schneider129f8fce1a3c
diff --git a/app/server/model/plan/tell_stage.go b/app/server/model/plan/tell_stage.goindex bbec7a2b..98b34c07 100644--- a/app/server/model/plan/tell_stage.go+++ b/app/server/model/plan/tell_stage.go@@ -74,10 +74,10 @@ func (state *activeTellStreamState) resolveCurrentStage() (activatedPaths map[st}if tellStage == shared.TellStagePlanning {- if req.AutoContext && hasContextMap && !contextMapEmpty && !wasContextStage {+ if req.AutoContext && hasContextMap && !contextMapEmpty && !wasContextStage && !req.IsApplyDebug {planningPhase = shared.PlanningPhaseContext- log.Printf("[resolveCurrentStage] Set planningPhase to Context - AutoContext: %v, hasContextMap: %v, contextMapEmpty: %v, wasContextStage: %v",- req.AutoContext, hasContextMap, contextMapEmpty, wasContextStage)+ log.Printf("[resolveCurrentStage] Set planningPhase to Context - AutoContext: %v, hasContextMap: %v, contextMapEmpty: %v, wasContextStage: %v, IsApplyDebug: %v",+ req.AutoContext, hasContextMap, contextMapEmpty, wasContextStage, req.IsApplyDebug)} else {planningPhase = shared.PlanningPhasePlanninglog.Printf("[resolveCurrentStage] Set planningPhase to Planning - AutoContext: %v, hasContextMap: %v, contextMapEmpty: %v, wasContextStage: %v",