From 8f9e202a883e7c9909c1211082b3e4205689dbe1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 28 Jun 2025 15:13:21 +0400 Subject: [PATCH] refac --- backend/open_webui/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 90d8a63a5d..aac6098a5e 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -537,7 +537,7 @@ async def lifespan(app: FastAPI): asyncio.create_task(periodic_usage_pool_cleanup()) if app.state.config.ENABLE_MODEL_LIST_CACHE: - get_all_models( + await get_all_models( Request( # Creating a mock request object to pass to get_all_models {