fix: error message

This commit is contained in:
Timothy J. Baek 2024-03-31 13:40:57 -07:00
parent 1d7ca44017
commit 4ddb7e124e

View file

@ -670,7 +670,7 @@ async def generate_completion(
else: else:
raise HTTPException( raise HTTPException(
status_code=400, status_code=400,
detail="error_detail", detail=ERROR_MESSAGES.MODEL_NOT_FOUND(form_data.model),
) )
url = app.state.OLLAMA_BASE_URLS[url_idx] url = app.state.OLLAMA_BASE_URLS[url_idx]