Skip to content

Commit b1bd74a

Browse files
docs(api): drop stale ACUC reference from unverified-cap comment (firecrawl#3991)
The comment cited ACUC.adjusted_credits_used as the old credit source; that field is being removed (ACUC no longer authoritative for credits). Keep the "Autumn is the source of truth" explanation without the vestigial reference. Co-authored-by: firecrawl-spring[bot] <254786068+firecrawl-spring[bot]@users.noreply.github.com> Co-authored-by: micahstairs <micah@sideguide.dev>
1 parent 47a7f16 commit b1bd74a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/api/src/routes/shared.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ export function checkCreditsMiddleware(
7777
}
7878

7979
// Enforce 50-credit cap for unverified agent keys. Autumn is the
80-
// source of truth for credit usage now (not ACUC.adjusted_credits_used):
81-
// getTeamBalance().usage is the team's credits used this period. If
82-
// Autumn is unavailable we fail open (skip the cap), matching the
83-
// Autumn-outage behavior of the main credit check below.
80+
// source of truth for credit usage: getTeamBalance().usage is the
81+
// team's credits used this period. If Autumn is unavailable we fail
82+
// open (skip the cap), matching the Autumn-outage behavior of the
83+
// main credit check below.
8484
const UNVERIFIED_CREDIT_LIMIT = 50;
8585
let unverifiedCreditsUsed: number | null = null;
8686
try {

0 commit comments

Comments
 (0)