Merge pull request #4435 from pipecat-ai/filipi/uninterruptible_frame

Refactoring TTSService to preserve uninterruptible frames.
This commit is contained in:
Filipi da Silva Fuchter
2026-05-07 08:46:42 -03:00
committed by GitHub
3 changed files with 122 additions and 8 deletions

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

@@ -0,0 +1 @@
- Fixed `TTSService` dropping uninterruptible frames (e.g. `FunctionCallResultFrame`) from its internal serialization queue when an interruption occurs. Previously, the queue was recreated on every interruption, silently discarding any queued frames. The queue is now reset instead of recreated, preserving uninterruptible frames so they are always delivered downstream.