mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-10 21:09:11 +02:00
Update ollama.py
Missing await in coroutine causing 500 errors on /ollama/api/tags since v0.5.0
This commit is contained in:
parent
b72150c881
commit
b4be58f6b6
@ -395,7 +395,7 @@ async def get_ollama_tags(
|
||||
)
|
||||
|
||||
if user.role == "user" and not BYPASS_MODEL_ACCESS_CONTROL:
|
||||
models["models"] = get_filtered_models(models, user)
|
||||
models["models"] = await get_filtered_models(models, user)
|
||||
|
||||
return models
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user