Merge pull request #4172 from pipecat-ai/mb/rime-tts-fixes

Fix Rime TTS stop-frame handling and handle done message
This commit is contained in:
Mark Backman
2026-03-27 16:22:25 -04:00
committed by GitHub
4 changed files with 12 additions and 6 deletions

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

@@ -0,0 +1 @@
- Fixed duplicate `TTSStoppedFrame` being pushed in TTS services using `push_stop_frames=True`. When the stop-frame timeout fired, a second `TTSStoppedFrame` could be pushed after the normal one at context completion.

View File

@@ -0,0 +1 @@
- `RimeTTSService` now handles Rime's `done` WebSocket message to complete audio contexts immediately, eliminating the 3-second idle timeout that previously added latency at the end of each utterance.