Merge pull request #4294 from pipecat-ai/ac/fix-assistant-turn-stopped-event

Fix on_assistant_turn_stopped not firing for tool-call-only responses
This commit is contained in:
Aleix Conchillo Flaqué
2026-04-14 10:09:55 -07:00
committed by GitHub
3 changed files with 29 additions and 12 deletions

1
changelog/4294.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed `on_assistant_turn_stopped` not resetting internal state when the LLM returned no text tokens. Added `interrupted` field to `AssistantTurnStoppedMessage` to indicate whether the assistant turn was interrupted.