Merge pull request #3765 from ianbbqzy/ian/inworld-default-async

[inworld] default timestamp transport strategy to ASYNC
This commit is contained in:
Filipi da Silva Fuchter
2026-02-18 16:59:01 -05:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
- Updated `InworldTTSService` and `InworldHttpTTSService` to use `ASYNC` timestamp transport strategy by default

View File

@@ -70,7 +70,7 @@ class InworldHttpTTSService(WordTTSService):
temperature: Optional[float] = None
speaking_rate: Optional[float] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = "ASYNC"
def __init__(
self,
@@ -442,7 +442,7 @@ class InworldTTSService(AudioContextWordTTSService):
max_buffer_delay_ms: Optional[int] = None
buffer_char_threshold: Optional[int] = None
auto_mode: Optional[bool] = True
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = "ASYNC"
def __init__(
self,