(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:
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

View file

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