openclaw/docs/.generated
Forgely3D 4fa11632b4
fix: escalate to model fallback after rate-limit profile rotation cap (#58707)
* fix: escalate to model fallback after rate-limit profile rotation cap

Per-model rate limits (e.g. Anthropic Sonnet-only quotas) are not
relieved by rotating auth profiles — if all profiles share the same
model quota, cycling between them loops forever without falling back
to the next model in the configured fallbacks chain.

Apply the same rotation-cap pattern introduced for overloaded_error
(#58348) to rate_limit errors:

- Add `rateLimitedProfileRotations` to auth.cooldowns config (default: 1)
- After N profile rotations on a rate_limit error, throw FailoverError
  to trigger cross-provider model fallback
- Add `resolveRateLimitProfileRotationLimit` helper following the same
  pattern as `resolveOverloadProfileRotationLimit`

Fixes #58572

* fix: cap prompt-side rate-limit failover (#58707) (thanks @Forgely3D)

* fix: restore latest-main gates for #58707

---------

Co-authored-by: Ember (Forgely3D) <ember@forgely.co>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-04-01 17:54:10 +09:00
..
README.md Docs: prototype generated plugin SDK reference (#51877) 2026-03-22 09:19:00 -07:00
config-baseline.json fix: escalate to model fallback after rate-limit profile rotation cap (#58707) 2026-04-01 17:54:10 +09:00
config-baseline.jsonl fix: escalate to model fallback after rate-limit profile rotation cap (#58707) 2026-04-01 17:54:10 +09:00
plugin-sdk-api-baseline.json Fix: move bootstrap session grammar into plugin-owned session-key surfaces (#58400) 2026-03-31 19:41:01 -04:00
plugin-sdk-api-baseline.jsonl Fix: move bootstrap session grammar into plugin-owned session-key surfaces (#58400) 2026-03-31 19:41:01 -04:00

README.md

Generated Docs Artifacts

These baseline artifacts are generated from the repo-owned OpenClaw config schema and bundled channel/plugin metadata.

  • Do not edit config-baseline.json by hand.
  • Do not edit config-baseline.jsonl by hand.
  • Do not edit plugin-sdk-api-baseline.json by hand.
  • Do not edit plugin-sdk-api-baseline.jsonl by hand.
  • Regenerate config baseline artifacts with pnpm config:docs:gen.
  • Validate config baseline artifacts in CI or locally with pnpm config:docs:check.
  • Regenerate Plugin SDK API baseline artifacts with pnpm plugin-sdk:api:gen.
  • Validate Plugin SDK API baseline artifacts in CI or locally with pnpm plugin-sdk:api:check.