mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue