mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix: consistent usage of http_client across azure client init
This commit is contained in:
parent
934c06c207
commit
c5a80cc690
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ class BaseAzureLLM:
|
||||||
"api_version": api_version,
|
"api_version": api_version,
|
||||||
"azure_ad_token": azure_ad_token,
|
"azure_ad_token": azure_ad_token,
|
||||||
"azure_ad_token_provider": azure_ad_token_provider,
|
"azure_ad_token_provider": azure_ad_token_provider,
|
||||||
|
"http_client": litellm.client_session,
|
||||||
}
|
}
|
||||||
if max_retries is not None:
|
if max_retries is not None:
|
||||||
azure_client_params["max_retries"] = max_retries
|
azure_client_params["max_retries"] = max_retries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue