forked from open-webui/open-webui
fix: error message
This commit is contained in:
parent
1d7ca44017
commit
4ddb7e124e
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ async def generate_completion(
|
|||
else:
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
detail="error_detail",
|
||||
detail=ERROR_MESSAGES.MODEL_NOT_FOUND(form_data.model),
|
||||
)
|
||||
|
||||
url = app.state.OLLAMA_BASE_URLS[url_idx]
|
||||
|
|
Loading…
Reference in a new issue