mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
get_provider_text_to_speech_config
This commit is contained in:
parent
9a25eeccb2
commit
5ce2be732e
1 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue