mirror of
https://github.com/open-webui/open-webui
synced 2025-04-16 21:42:50 +00:00
and one last edit
This commit is contained in:
parent
fb12ee3f52
commit
5e3742f899
@ -142,7 +142,7 @@ async def get_all_models(request):
|
|||||||
custom_model.base_model_id == model["id"]
|
custom_model.base_model_id == model["id"]
|
||||||
or custom_model.base_model_id == model["id"].split(":")[0]
|
or custom_model.base_model_id == model["id"].split(":")[0]
|
||||||
):
|
):
|
||||||
owned_by = model["owned_by"]
|
owned_by = model.get("owned_by", "unknown owner")
|
||||||
if "pipe" in model:
|
if "pipe" in model:
|
||||||
pipe = model["pipe"]
|
pipe = model["pipe"]
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user