fix: fix drift

This commit is contained in:
Abhishek Kumar 2026-05-12 18:39:11 +05:30
parent 114320a341
commit 95390fe95b
2 changed files with 5 additions and 5 deletions

View file

@ -250,9 +250,9 @@ def create_tts_service(user_config, audio_config: "AudioConfig"):
# ElevenLabs TTS uses WebSocket. Users configure base_url with an HTTP
# scheme (matching ElevenLabs documentation, e.g.
# https://api.eu.residency.elevenlabs.io); rewrite it to the WS scheme.
elevenlabs_url = user_config.tts.base_url.replace(
"https://", "wss://"
).replace("http://", "ws://")
elevenlabs_url = user_config.tts.base_url.replace("https://", "wss://").replace(
"http://", "ws://"
)
return ElevenLabsTTSService(
reconnect_on_error=False,
api_key=user_config.tts.api_key,

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-XXXXXX.json.OGVaBJhIgZ
# timestamp: 2026-05-11T11:41:34+00:00
# filename: dograh-openapi-XXXXXX.json.Zvc0Wos2dk
# timestamp: 2026-05-12T13:08:52+00:00
from __future__ import annotations