This commit is contained in:
Timothy Jaeryang Baek 2024-12-11 20:26:24 -08:00
parent eb9733e99f
commit d9ffcea764

View File

@ -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)]