(fix) proxy server openapi.json and main.py

This commit is contained in:
ishaan-jaff 2023-10-25 15:01:28 -07:00
parent 75df24c0b7
commit 464248651b
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,7 @@ from typing import Optional
try: try:
from utils import set_callbacks, load_router_config from utils import set_callbacks, load_router_config
except ImportError: except ImportError:
from openai_proxy.utils import set_callbacks, load_router_config from litellm_server.utils import set_callbacks, load_router_config
import dotenv import dotenv
dotenv.load_dotenv() # load env variables dotenv.load_dotenv() # load env variables

View file

@ -171,6 +171,9 @@
}, },
"user": { "user": {
"type": "string" "type": "string"
},
"caching": {
"type": "boolean"
} }
}, },
"required": ["messages", "model"] "required": ["messages", "model"]