Update TTS/openai_tts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/2426/head
Jason Cameron 2 months ago committed by GitHub
parent 3196d4ea3c
commit 6439cd6278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -25,7 +25,7 @@ class OpenAITTS:
"No OpenAI API key provided in settings! Please set 'openai_api_key' in your config."
)
# Lese den Basis-URL aus der Konfiguration (z. B. "https://api.openai.com/v1" oder "https://api.openai.com/v1/")
# Read the base URL from the configuration (e.g., "https://api.openai.com/v1" or "https://api.openai.com/v1/")
base_url = settings.config["settings"]["tts"].get(
"openai_api_url", "https://api.openai.com/v1"
)

Loading…
Cancel
Save