refactor(azure.py): working azure client init on audio speech endpoint

This commit is contained in:
Krrish Dholakia 2025-03-11 14:19:45 -07:00
parent 858d9005a2
commit 4f4507ccc0
5 changed files with 63 additions and 46 deletions

View file

@ -58,6 +58,7 @@ def get_azure_openai_client(
data[k] = v
if "api_version" not in data:
data["api_version"] = litellm.AZURE_DEFAULT_API_VERSION
if _is_async is True:
openai_client = AsyncAzureOpenAI(**data)
else: