mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-16 07:35:56 +08: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…
x
Reference in New Issue
Block a user