From ceead60ef23cdf30a98f41fd1fa09ed1f28b81ce Mon Sep 17 00:00:00 2001 From: Stephen Altamirano Date: Wed, 25 Feb 2026 09:43:57 -0800 Subject: [PATCH] Add `append_trailing_space` to all Rime websocket services This was added in 31daa889e83b960fab79d66b2ab014d930e15a2e, but only to `RimeTTSService`, not to `RimeNonJsonTTSService. Bringing these to parity means that users switching between the two, with the same inputs, have more consistent vocalization behaviors. --- changelog/3837.fixed.md | 1 + src/pipecat/services/rime/tts.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/3837.fixed.md diff --git a/changelog/3837.fixed.md b/changelog/3837.fixed.md new file mode 100644 index 000000000..767e79f45 --- /dev/null +++ b/changelog/3837.fixed.md @@ -0,0 +1 @@ +- Fixed issues with `RimeNonJsonTTSService` where trailing punctuation is sometimes vocalized diff --git a/src/pipecat/services/rime/tts.py b/src/pipecat/services/rime/tts.py index 83c2305d5..484c99857 100644 --- a/src/pipecat/services/rime/tts.py +++ b/src/pipecat/services/rime/tts.py @@ -846,6 +846,7 @@ class RimeNonJsonTTSService(InterruptibleTTSService): aggregate_sentences=aggregate_sentences, push_stop_frames=True, pause_frame_processing=True, + append_trailing_space=True, **kwargs, ) params = params or RimeNonJsonTTSService.InputParams()