fix lint and changelog
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
- Added support for Inworld TTS Websocket Auto Mode for improved latency
|
- 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
1
changelog/3593.change.md
Normal 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
|
||||||
@@ -501,7 +501,7 @@ class InworldTTSService(AudioContextWordTTSService):
|
|||||||
|
|
||||||
# Track cumulative time across generations for monotonic timestamps within a turn.
|
# Track cumulative time across generations for monotonic timestamps within a turn.
|
||||||
# When auto_mode is enabled, the server controls generations and timestamps reset
|
# 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.
|
# add _cumulative_time to maintain monotonically increasing timestamps.
|
||||||
self._cumulative_time = 0.0
|
self._cumulative_time = 0.0
|
||||||
# Track the end time of the last word in the current generation
|
# Track the end time of the last word in the current generation
|
||||||
|
|||||||
Reference in New Issue
Block a user