From 6eea40858e5e0f1cdfef6be7a8b1ce6e0a130e31 Mon Sep 17 00:00:00 2001 From: Ian Lee Date: Thu, 5 Feb 2026 15:10:36 -0800 Subject: [PATCH] fix lint and changelog --- changelog/3593.added.md | 1 - changelog/3593.change.md | 1 + src/pipecat/services/inworld/tts.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 changelog/3593.change.md diff --git a/changelog/3593.added.md b/changelog/3593.added.md index 67b2394d2..432db3636 100644 --- a/changelog/3593.added.md +++ b/changelog/3593.added.md @@ -1,2 +1 @@ - Added support for Inworld TTS Websocket Auto Mode for improved latency -- Updated timestamps to be cumulative within an agent turn, using flushCompleted message as an indication of when timestamps from the server are reset to 0 \ No newline at end of file diff --git a/changelog/3593.change.md b/changelog/3593.change.md new file mode 100644 index 000000000..a21549f36 --- /dev/null +++ b/changelog/3593.change.md @@ -0,0 +1 @@ +- Updated timestamps to be cumulative within an agent turn, using flushCompleted message as an indication of when timestamps from the server are reset to 0 diff --git a/src/pipecat/services/inworld/tts.py b/src/pipecat/services/inworld/tts.py index 16898c67f..fee6c49ac 100644 --- a/src/pipecat/services/inworld/tts.py +++ b/src/pipecat/services/inworld/tts.py @@ -501,7 +501,7 @@ class InworldTTSService(AudioContextWordTTSService): # Track cumulative time across generations for monotonic timestamps within a turn. # When auto_mode is enabled, the server controls generations and timestamps reset - # to 0 after each generation, as indicated by a "flushCompleted" message. We + # to 0 after each generation, as indicated by a "flushCompleted" message. We # add _cumulative_time to maintain monotonically increasing timestamps. self._cumulative_time = 0.0 # Track the end time of the last word in the current generation