From 7bbdb4f9918415b593a58c2887d6d60166d91a08 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Tue, 7 Oct 2025 12:32:32 -0400 Subject: [PATCH] Remove deprecation warning for ElevenLabsSTTService --- examples/foundational/07d-interruptible-elevenlabs-http.py | 1 - src/pipecat/services/elevenlabs/__init__.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/foundational/07d-interruptible-elevenlabs-http.py b/examples/foundational/07d-interruptible-elevenlabs-http.py index cd922ddc2..8a144dab3 100644 --- a/examples/foundational/07d-interruptible-elevenlabs-http.py +++ b/examples/foundational/07d-interruptible-elevenlabs-http.py @@ -23,7 +23,6 @@ from pipecat.processors.aggregators.llm_context import LLMContext from pipecat.processors.aggregators.llm_response_universal import LLMContextAggregatorPair from pipecat.runner.types import RunnerArguments from pipecat.runner.utils import create_transport -from pipecat.services.deepgram.stt import DeepgramSTTService from pipecat.services.elevenlabs.stt import ElevenLabsSTTService from pipecat.services.elevenlabs.tts import ElevenLabsHttpTTSService from pipecat.services.openai.llm import OpenAILLMService diff --git a/src/pipecat/services/elevenlabs/__init__.py b/src/pipecat/services/elevenlabs/__init__.py index e5a76e71a..fca70eaec 100644 --- a/src/pipecat/services/elevenlabs/__init__.py +++ b/src/pipecat/services/elevenlabs/__init__.py @@ -8,6 +8,7 @@ import sys from pipecat.services import DeprecatedModuleProxy +from .stt import * from .tts import * -sys.modules[__name__] = DeprecatedModuleProxy(globals(), "elevenlabs", "elevenlabs.tts") +sys.modules[__name__] = DeprecatedModuleProxy(globals(), "elevenlabs", "elevenlabs.[stt,tts]")