From 948b65e43f86b4138797a28a7f155fdfa16d7868 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 12:16:50 -0800 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 6a7cbb7eb..012af7bdf 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1020,7 +1020,7 @@ async def get_all_base_models(): return models -@cached(ttl=1) +@cached(ttl=3) async def get_all_models(): models = await get_all_base_models()