Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

docs(api): drop stale ACUC reference from unverified-cap comment (#3991)

firecrawl-spring[bot]b1bd74aeabac
diff --git a/apps/api/src/routes/shared.ts b/apps/api/src/routes/shared.ts
index 7a461ebcc..88abdd894 100644
--- a/apps/api/src/routes/shared.ts
+++ b/apps/api/src/routes/shared.ts
@@ -77,10 +77,10 @@ export function checkCreditsMiddleware(
}
// Enforce 50-credit cap for unverified agent keys. Autumn is the
- // source of truth for credit usage now (not ACUC.adjusted_credits_used):
- // getTeamBalance().usage is the team's credits used this period. If
- // Autumn is unavailable we fail open (skip the cap), matching the
- // Autumn-outage behavior of the main credit check below.
+ // source of truth for credit usage: getTeamBalance().usage is the
+ // team's credits used this period. If Autumn is unavailable we fail
+ // open (skip the cap), matching the Autumn-outage behavior of the
+ // main credit check below.
const UNVERIFIED_CREDIT_LIMIT = 50;
let unverifiedCreditsUsed: number | null = null;
try {