mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -1020,7 +1020,7 @@ async def get_all_base_models():
|
|||||||
return models
|
return models
|
||||||
|
|
||||||
|
|
||||||
@cached(ttl=1)
|
@cached(ttl=3)
|
||||||
async def get_all_models():
|
async def get_all_models():
|
||||||
models = await get_all_base_models()
|
models = await get_all_base_models()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user