(fix) azure extra setting client

This commit is contained in:
ishaan-jaff 2024-03-08 13:44:39 -08:00
parent 2f6e15655a
commit 65ccfc35ca

View file

@ -415,7 +415,6 @@ class AzureChatCompletion(BaseLLM):
if client is None:
azure_client = AzureOpenAI(**azure_client_params)
else:
azure_client = client
azure_client = client
if api_version is not None and isinstance(azure_client._custom_query, dict):
# set api_version to version passed by user