From aec70d61e98a9cf603eeefd843e5f4da5f7f4fef Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Mon, 9 Jun 2025 15:20:57 -0400 Subject: [PATCH] CartesiaSTTService cleanup --- src/pipecat/services/cartesia/stt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pipecat/services/cartesia/stt.py b/src/pipecat/services/cartesia/stt.py index c7239888e..618908ed9 100644 --- a/src/pipecat/services/cartesia/stt.py +++ b/src/pipecat/services/cartesia/stt.py @@ -73,7 +73,7 @@ class CartesiaSTTService(STTService): self, *, api_key: str, - base_url: str = None, + base_url: str = "", sample_rate: int = 16000, live_options: Optional[CartesiaLiveOptions] = None, **kwargs, @@ -101,6 +101,7 @@ class CartesiaSTTService(STTService): ) self._settings = merged_options + self.set_model_name(merged_options["model"]) self._api_key = api_key self._base_url = base_url or "api.cartesia.ai" self._connection = None