diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index a632a3874..c1fab6b9c 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1914,8 +1914,8 @@ async def get_models(request: Request, user=Depends(get_verified_user)): @app.get("/api/models/base") -async def get_base_models(user=Depends(get_admin_user)): - models = await get_all_base_models() +async def get_base_models(request: Request, user=Depends(get_admin_user)): + models = await get_all_base_models(request) # Filter out arena models models = [model for model in models if not model.get("arena", False)]