Add append_trailing_space to TTSService to prevent vocalizing trailing punctuation; update DeepgramTTSService and RimeTTSService to use the arg

This commit is contained in:
Mark Backman
2026-01-13 09:24:23 -05:00
parent 2296caf529
commit 31daa889e8
5 changed files with 30 additions and 6 deletions

1
changelog/3424.added.md Normal file
View File

@@ -0,0 +1 @@
- Added `append_trailing_space` parameter to `TTSService` to automatically append a trailing space to text before sending to TTS, helping prevent some services from vocalizing trailing punctuation.

View File

@@ -0,0 +1 @@
- `DeepgramTTSService` and `RimeTTSService` now set `append_trailing_space` to `True` to prevent punctuation (e.g., “dot”) from being pronounced.