mirror of
https://github.com/open-webui/open-webui
synced 2025-04-07 06:04:50 +00:00
refac
This commit is contained in:
parent
d587206929
commit
948b65e43f
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user