From d2869912578df1df4d538b43e24f3cf3069301f6 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Thu, 26 Mar 2026 11:51:31 -0300 Subject: [PATCH] Changelog entry for the changes involving add_word_timestamp. --- changelog/4145.removed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/4145.removed.md diff --git a/changelog/4145.removed.md b/changelog/4145.removed.md new file mode 100644 index 000000000..ac780c1dc --- /dev/null +++ b/changelog/4145.removed.md @@ -0,0 +1 @@ +- ⚠️ `TTSService.add_word_timestamps()` no longer supports the `"Reset"` and `"TTSStoppedFrame"` sentinel strings. If you have a custom TTS service that called `await self.add_word_timestamps([("Reset", 0)])` or `await self.add_word_timestamps([("TTSStoppedFrame", 0), ("Reset", 0)], ctx_id)`, replace them with `await self.append_to_audio_context(ctx_id, TTSStoppedFrame(context_id=ctx_id))` and let `_handle_audio_context` manage the word-timestamp reset automatically.