mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
1a52585769
commit
8f9e202a88
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue