This commit is contained in:
Timothy J. Baek
2024-07-11 19:05:59 -07:00
parent 14c0efe300
commit 856845e5f2
4 changed files with 35 additions and 10 deletions

View File

@@ -1285,7 +1285,7 @@ async def chat_completed(
status_code=status.HTTP_404_NOT_FOUND,
detail="Action not found",
)
data = form_data
model_id = data["model"]
if model_id not in app.state.MODELS: