Merge pull request #4127 from pipecat-ai/mb/tts-text-frame-ordering

Fix LLMFullResponseEndFrame racing ahead of final TTSTextFrame
This commit is contained in:
Mark Backman
2026-03-24 15:39:06 -04:00
committed by GitHub
3 changed files with 101 additions and 1 deletions

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

@@ -0,0 +1 @@
- Fixed the final sentence being dropped from the conversation context when using RTVI text input with non-word-timestamp TTS services. The `LLMFullResponseEndFrame` was racing ahead of the last `TTSTextFrame`, causing the `LLMAssistantAggregator` to finalize the context before the final sentence arrived.