From 39ef4e005471fba389c37f307865b9d0a56e4b51 Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Sun, 22 Feb 2026 17:45:42 +0200 Subject: [PATCH] fix(stt): pass http_session to ElevenLabs STT plugin Plugin requires explicit aiohttp session; livekit http_context not available in this job setup. Co-Authored-By: Claude Sonnet 4.6 --- voice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/voice.py b/voice.py index 9984cca..b71c68d 100644 --- a/voice.py +++ b/voice.py @@ -560,6 +560,7 @@ class VoiceSession: api_key=ELEVENLABS_KEY, model_id="scribe_v2_realtime", language_code=os.environ.get("STT_LANGUAGE", "de"), + http_session=self._http_session, ), llm=lk_openai.LLM(base_url=LITELLM_URL, api_key=LITELLM_KEY, model=self.model), tts=elevenlabs.TTS(voice_id=voice_id, model="eleven_multilingual_v2",