We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b374430 commit 2a87391Copy full SHA for 2a87391
src/llama_stack_client/lib/agents/agent.py
@@ -170,7 +170,7 @@ def _create_turn_streaming(
170
# End of turn is reached, do not resume even if there's a tool call
171
if chunk.event.payload.turn.output_message.stop_reason in {"end_of_turn"}:
172
yield chunk
173
- continue
+ break
174
175
turn_id = self._get_turn_id(chunk)
176
if n_iter == 0:
0 commit comments