Add append_trailing_space to all Rime websocket services

This was added in 31daa889e8, 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.
This commit is contained in:
Stephen Altamirano
2026-02-25 09:43:57 -08:00
parent 9273b158ea
commit ceead60ef2
2 changed files with 2 additions and 0 deletions

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

@@ -0,0 +1 @@
- Fixed issues with `RimeNonJsonTTSService` where trailing punctuation is sometimes vocalized

View File

@@ -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()