fix lint and changelog

This commit is contained in:
Ian Lee
2026-02-05 15:10:36 -08:00
parent 22398e1410
commit 6eea40858e
3 changed files with 2 additions and 2 deletions

View File

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

1
changelog/3593.change.md Normal file
View File

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

View File

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