From e9f1d951d3db9c0550c5b50df331317e049c4f6d Mon Sep 17 00:00:00 2001 From: Mike Seese Date: Mon, 5 Jan 2026 10:16:06 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Mark Backman --- examples/foundational/07ag-interruptible-hathora.py | 3 +++ src/pipecat/services/hathora/tts.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/foundational/07ag-interruptible-hathora.py b/examples/foundational/07ag-interruptible-hathora.py index bcde037d0..8fc989e62 100644 --- a/examples/foundational/07ag-interruptible-hathora.py +++ b/examples/foundational/07ag-interruptible-hathora.py @@ -100,6 +100,9 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): params=PipelineParams( enable_metrics=True, enable_usage_metrics=True, + turn_start_strategies=TurnStartStrategies( + bot=[TurnAnalyzerBotTurnStartStrategy(turn_analyzer=LocalSmartTurnAnalyzerV3())] + ), ), idle_timeout_secs=runner_args.pipeline_idle_timeout_secs, ) diff --git a/src/pipecat/services/hathora/tts.py b/src/pipecat/services/hathora/tts.py index 85843923d..53458be28 100644 --- a/src/pipecat/services/hathora/tts.py +++ b/src/pipecat/services/hathora/tts.py @@ -54,7 +54,7 @@ class HathoraTTSService(TTSService): self, *, model: str, - voice: Optional[str] = None, + voice_id: Optional[str] = None, speed: Optional[float] = None, model_config: Optional[list[ConfigOption]] = None, base_url: str = "https://api.models.hathora.dev/inference/v1/tts",