mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: fix drift
This commit is contained in:
parent
114320a341
commit
95390fe95b
2 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue