mirror of
https://github.com/onyx-dot-app/litellm.git
synced 2026-07-01 20:44:04 -04:00
get_provider_text_to_speech_config
This commit is contained in:
+7
-4
@@ -7632,11 +7632,14 @@ class ProviderConfigManager:
|
||||
)
|
||||
|
||||
if litellm.LlmProviders.AZURE == provider:
|
||||
from litellm.llms.azure.text_to_speech.transformation import (
|
||||
AzureAVATextToSpeechConfig,
|
||||
)
|
||||
# Only return Azure AVA config for Azure Speech Service models (speech/)
|
||||
# Azure OpenAI TTS models (azure/azure-tts) should not use this config
|
||||
if model.startswith("speech/"):
|
||||
from litellm.llms.azure.text_to_speech.transformation import (
|
||||
AzureAVATextToSpeechConfig,
|
||||
)
|
||||
|
||||
return AzureAVATextToSpeechConfig()
|
||||
return AzureAVATextToSpeechConfig()
|
||||
return None
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user