Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
4ddb7e12
Commit
4ddb7e12
authored
Mar 31, 2024
by
Timothy J. Baek
Browse files
fix: error message
parent
1d7ca440
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/ollama/main.py
backend/apps/ollama/main.py
+1
-1
No files found.
backend/apps/ollama/main.py
View file @
4ddb7e12
...
...
@@ -670,7 +670,7 @@ async def generate_completion(
else
:
raise
HTTPException
(
status_code
=
400
,
detail
=
"err
or_d
e
ta
il"
,
detail
=
ERROR_MESSAGES
.
MODEL_NOT_FOUND
(
f
or
m
_d
a
ta
.
model
)
,
)
url
=
app
.
state
.
OLLAMA_BASE_URLS
[
url_idx
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment