mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: ollama custom model
This commit is contained in:
parent
3fa23481c8
commit
6589f75b2d
1 changed files with 0 additions and 3 deletions
|
|
@ -931,9 +931,6 @@ async def generate_chat_completion(
|
|||
del payload["metadata"]
|
||||
|
||||
model_id = payload["model"]
|
||||
if ":" not in model_id:
|
||||
model_id = f"{model_id}:latest"
|
||||
|
||||
model_info = Models.get_model_by_id(model_id)
|
||||
|
||||
if model_info:
|
||||
|
|
|
|||
Loading…
Reference in a new issue