fix common utils

This commit is contained in:
Ishaan Jaff 2025-03-18 11:04:02 -07:00
parent c1e0cb136e
commit 3458c69eb0
2 changed files with 7 additions and 4 deletions

View file

@ -346,9 +346,9 @@ class BaseAzureLLM(BaseOpenAILLM):
}
# init http client + SSL Verification settings
if is_async is True:
azure_client_params["http_client"] = self._get_async_http_client
azure_client_params["http_client"] = self._get_async_http_client()
else:
azure_client_params["http_client"] = self._get_sync_http_client
azure_client_params["http_client"] = self._get_sync_http_client()
if max_retries is not None:
azure_client_params["max_retries"] = max_retries