forked from phoenix/litellm-mirror
(fix) proxy - cloudflare + Azure bug [non-streaming]
This commit is contained in:
parent
b103ab1f0b
commit
6d21ee3a2f
3 changed files with 92 additions and 32 deletions
|
@ -1326,6 +1326,7 @@ class Router:
|
|||
local_only=True,
|
||||
) # cache for 1 hr
|
||||
|
||||
cache_key = f"{model_id}_client"
|
||||
_client = openai.AzureOpenAI( # type: ignore
|
||||
api_key=api_key,
|
||||
base_url=api_base,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue