diff --git a/src/pipecat/services/llm_service.py b/src/pipecat/services/llm_service.py index 83d60defb..9db7ad27a 100644 --- a/src/pipecat/services/llm_service.py +++ b/src/pipecat/services/llm_service.py @@ -205,6 +205,7 @@ class LLMService(UserTurnCompletionLLMServiceMixin, AIService): self._tracing_enabled: bool = False self._skip_tts: Optional[bool] = None self._summary_task: Optional[asyncio.Task] = None + self._settings = LLMSettings() # Here in case subclass doesn't implement more specific settings (hopefully shouldn't happen) self._register_event_handler("on_function_calls_started") self._register_event_handler("on_completion_timeout") diff --git a/src/pipecat/services/stt_service.py b/src/pipecat/services/stt_service.py index fdcefcbd5..47b83ab56 100644 --- a/src/pipecat/services/stt_service.py +++ b/src/pipecat/services/stt_service.py @@ -105,6 +105,7 @@ class STTService(AIService): self._audio_passthrough = audio_passthrough self._init_sample_rate = sample_rate self._sample_rate = 0 + self._settings = STTSettings() # Here in case subclass doesn't implement more specific settings (hopefully shouldn't happen) self._tracing_enabled: bool = False self._muted: bool = False self._user_id: str = "" diff --git a/src/pipecat/services/tts_service.py b/src/pipecat/services/tts_service.py index 6cd33b3e4..ebf0e602a 100644 --- a/src/pipecat/services/tts_service.py +++ b/src/pipecat/services/tts_service.py @@ -192,6 +192,7 @@ class TTSService(AIService): self._init_sample_rate = sample_rate self._sample_rate = 0 self._voice_id: str = "" + self._settings = TTSSettings() # Here in case subclass doesn't implement more specific settings (hopefully shouldn't happen) self._text_aggregator: BaseTextAggregator = text_aggregator or SimpleTextAggregator() if text_aggregator: import warnings