Niansuh commited on
Commit
a3d8a0f
·
verified ·
1 Parent(s): b1e127f

Update api/routes.py

Browse files
Files changed (1) hide show
  1. api/routes.py +1 -1
api/routes.py CHANGED
@@ -39,7 +39,7 @@ async def chat_completions(
39
  if request.model not in [model["id"] for model in ALLOWED_MODELS]:
40
  raise HTTPException(
41
  status_code=400,
42
- detail=f"Model {request.model} is not allowed. Allowed models are: {', '.join(model['id'] for model in ALLOWED_MODELS) NiansuhAI}",
43
  )
44
 
45
  if request.stream:
 
39
  if request.model not in [model["id"] for model in ALLOWED_MODELS]:
40
  raise HTTPException(
41
  status_code=400,
42
+ detail=f"Model {request.model} is not allowed. Allowed models are: {', '.join(model['id'] for model in ALLOWED_MODELS)}",
43
  )
44
 
45
  if request.stream: