Skip to content

Commit 438c053

Browse files
committed
Merge remote-tracking branch 'origin/main' into brandon/tui
2 parents 45d6d23 + 58e5fd4 commit 438c053

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/src/run-agent-step.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,9 @@ export const loopAgentSteps = async (
620620
currentAgentState = programmaticAgentState
621621
totalSteps = stepNumber
622622

623-
shouldEndTurn = endTurn
623+
if (endTurn) {
624+
shouldEndTurn = true
625+
}
624626
}
625627

626628
// Check if output is required but missing

0 commit comments

Comments
 (0)