Function: isQuotaError()
isQuotaError(
status,body):boolean
Defined in: packages/agentos/src/core/providers/quotaErrors.ts:30
Whether an HTTP response signals a quota or billing exhaustion that a key pool should treat as "rest this key": 429, 402 or 456, or a body naming one of the providers' quota signals.
Parameters
status
number
body
string
Returns
boolean