File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -977,8 +977,6 @@ your final message like this:
977977 // 11. Multi-pass loop
978978 const maxPasses = dirty . length + 5 ;
979979 while ( ! aborted ) {
980- // In autopilot mode, auto-continue up to maxPasses
981- // In interactive mode, prompt the user
982980 if ( autopilot ) {
983981 if ( passNumber >= maxPasses ) {
984982 log ( chalk . dim ( ` Autopilot: reached max passes (${ maxPasses } ), stopping.\n` ) ) ;
@@ -993,11 +991,6 @@ your final message like this:
993991
994992 passNumber ++ ;
995993 currentPhase = "Starting" ;
996- // Reset per-pass metrics (keep cumulative totals)
997- const prevTokensIn = metrics . inputTokens ;
998- const prevTokensOut = metrics . outputTokens ;
999- const prevReasoning = metrics . reasoningTokens ;
1000- const prevToolCalls = metrics . toolCalls ;
1001994 metrics . errors = [ ] ;
1002995
1003996 const passLabel = autopilot ? `Pass ${ passNumber } /${ maxPasses } ` : `Pass ${ passNumber } ` ;
You can’t perform that action at this time.
0 commit comments