Skip to content

Commit c784e3c

Browse files
author
9qeklajc
committed
fmt
1 parent ded82cd commit c784e3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routstr/proxy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from fastapi import APIRouter, Depends, HTTPException, Request
55
from fastapi.responses import Response, StreamingResponse
6-
from sqlmodel import select
6+
from sqlmodel import select
77

88
from .algorithm import create_model_mappings
99
from .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))

0 commit comments

Comments
 (0)