mirror of
https://github.com/open-webui/open-webui
synced 2025-04-29 10:42:55 +00: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…
Reference in New Issue
Block a user