mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(Dockerfile): support mac
This commit is contained in:
parent
9660f0e0b1
commit
50b741f8fa
2 changed files with 18 additions and 18 deletions
|
@ -964,7 +964,7 @@ class Router:
|
|||
|
||||
if "azure" in model_name:
|
||||
if api_base is None:
|
||||
raise ValueError("api_base is required for Azure OpenAI. Set it on your config")
|
||||
raise ValueError(f"api_base is required for Azure OpenAI. Set it on your config. Model - {model}")
|
||||
if api_version is None:
|
||||
api_version = "2023-07-01-preview"
|
||||
if "gateway.ai.cloudflare.com" in api_base:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue