fix: consistent usage of http_client across azure client init

This commit is contained in:
Krrish Dholakia 2025-03-11 17:48:31 -07:00
parent 934c06c207
commit c5a80cc690

View file

@ -332,6 +332,7 @@ class BaseAzureLLM:
"api_version": api_version,
"azure_ad_token": azure_ad_token,
"azure_ad_token_provider": azure_ad_token_provider,
"http_client": litellm.client_session,
}
if max_retries is not None:
azure_client_params["max_retries"] = max_retries