You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: CreditLedger rate limits tracked but never enforced in factory #14
Severity: P1 — High Category: Feature Gap / Correctness Files: utils/credit-ledger.ts, factory.ts
Problem
CreditLedger implements full rate limit tracking:
RPM (requests per minute)
RPD (requests per day)
TPM (tokens per minute)
TPD (tokens per day)
Auto-reset stale windows
checkRateLimit() method
But LLMProviderFactory.generateResponse() never calls checkRateLimit() before dispatching a request. The tracking infrastructure exists but is purely decorative — rate limits are observed but never enforced.
Activity