forked from phoenix/litellm-mirror
fix azure.py health check
This commit is contained in:
parent
49464df216
commit
04dec96f79
1 changed files with 2 additions and 1 deletions
|
@ -1528,7 +1528,8 @@ class AzureChatCompletion(BaseLLM):
|
|||
prompt: Optional[str] = None,
|
||||
) -> dict:
|
||||
client_session = (
|
||||
litellm.aclient_session or httpx.AsyncClient()
|
||||
litellm.aclient_session
|
||||
or get_async_httpx_client(llm_provider=litellm.LlmProviders.AZURE).client
|
||||
) # handle dall-e-2 calls
|
||||
|
||||
if "gateway.ai.cloudflare.com" in api_base:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue