forked from phoenix/litellm-mirror
(fix) proxy server openapi.json and main.py
This commit is contained in:
parent
75df24c0b7
commit
464248651b
2 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@ from typing import Optional
|
|||
try:
|
||||
from utils import set_callbacks, load_router_config
|
||||
except ImportError:
|
||||
from openai_proxy.utils import set_callbacks, load_router_config
|
||||
from litellm_server.utils import set_callbacks, load_router_config
|
||||
import dotenv
|
||||
dotenv.load_dotenv() # load env variables
|
||||
|
||||
|
|
|
@ -171,6 +171,9 @@
|
|||
},
|
||||
"user": {
|
||||
"type": "string"
|
||||
},
|
||||
"caching": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["messages", "model"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue