Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
fix(claude): add Anthropic unified rate-limit parsing helpers master
- Add new Claude rate-limit helper utilities to detect unified header-based quota rejections (5h/7d), handling case-insensitive headers and missing canonical forms. - Compute deterministic retry duration from `Retry-After` and header reset timestamps, preferring the longest applicable unified window so cooldowns can be applied consistently. - Introduce reusable rate-limit classification logic to distinguish header-authoritative rejections from request-scoped errors (e.g. fast-mode entitlement failures) for correct credential/model cooldown behavior. Closes: #4874
Author Luis Pater Date (Aug 15, 2026, 6:08 AM UTC) Commit ac82bedf ac82bedfaf5b74e40f4530e3fcb61099cf6d582e Parent 297139cc 297139cc8d051d379c6e3986fe873044a0187178