File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
44from fastapi import APIRouter , Depends , HTTPException , Request
55from fastapi .responses import Response , StreamingResponse
6- from sqlmodel import select
6+ from sqlmodel import select
77
88from .algorithm import create_model_mappings
99from .auth import pay_for_request , revert_pay_for_request , validate_bearer_key
@@ -83,7 +83,7 @@ async def refresh_model_maps() -> None:
8383
8484 # Gather database overrides and disabled models
8585 async with create_session () as session :
86- result = await session .exec (select (ModelRow ).where (ModelRow .enabled == True ))
86+ result = await session .exec (select (ModelRow ).where (ModelRow .enabled ))
8787 override_rows = result .all ()
8888
8989 provider_result = await session .exec (select (UpstreamProviderRow ))
You can’t perform that action at this time.
0 commit comments