mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
refactor(azure.py): working azure client init on audio speech endpoint
This commit is contained in:
parent
858d9005a2
commit
4f4507ccc0
5 changed files with 63 additions and 46 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue