This commit is contained in:
9qeklajc
2026-03-06 17:59:49 +01:00
parent 9fb6f54d12
commit e002c0b66f
+1 -2
View File
@@ -3083,7 +3083,7 @@ class BaseUpstreamProvider:
UpstreamProviderRow.api_key == self.api_key
)
result = await session.exec(stmt)
# .first() returns the object or None if not found
provider = result.first()
if not provider or not provider.id:
@@ -3105,7 +3105,6 @@ class BaseUpstreamProvider:
models.append(found_db_model)
models_with_fees = [self._apply_provider_fee_to_model(m) for m in models]
print([mode.id for mode in models_with_fees])
try:
sats_to_usd = sats_usd_price()