Commit Graph

28 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Peter Steinberger 1c41987876
refactor(auth): split auth state from auth store 8 months ago
Peter Steinberger 3b4bed7c38
docs: refresh model-scoped cooldown mirrors 8 months ago
Peter Steinberger e336300e60
docs: refresh failover and compaction pattern refs 8 months ago
Peter Steinberger 4650b972b9
docs: refresh provider scoped failover refs 8 months ago
Peter Steinberger bcaff8c208
docs: refresh failover generic error refs 8 months ago
Peter Steinberger 890de57036
docs: refresh failover billing refs 8 months ago
Peter Steinberger 3bc2e47966
docs: clarify failover 402 handling 8 months ago
Peter Steinberger 73584b1d33
docs: refresh failover and compaction refs 8 months ago
Peter Steinberger 9b352ab5b0
test: isolate session status from provider runtime leak 8 months ago
Peter Steinberger d01cb5ecc6
docs: expand model fallback guide 8 months ago
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>
8 months ago
Peter Steinberger 418fa12dfa
fix: make overload failover configurable 8 months ago
Vincent Koc 3cecbcf8b6 docs: fix curly quotes, non-breaking hyphens, and remaining apostrophes in headings 8 months ago
Peter Steinberger 42626648d7 docs(models): clarify moonshot thinking and failover stop-reason errors 9 months ago
Seb Slight abcaa8c7a9
Docs: add nav titles across docs (#5689) 10 months ago
cpojer 8cab78abbc
chore: Run `pnpm format:fix`. 10 months ago
Peter Steinberger 9a7160786a refactor: rename to openclaw 10 months ago
Peter Steinberger 6d16a658e5 refactor: rename clawdbot to moltbot with legacy compat 10 months ago
Peter Steinberger d3862ae30a fix(auth): preserve auto-pin preference
Co-authored-by: Mykyta Bozhenko <21245729+cheeeee@users.noreply.github.com>
10 months ago
Peter Steinberger 8c3cdba21c feat: sticky auth profile rotation + usage headers 10 months ago
Shadow 19d9e7ac05
Docs: fix internal links 10 months ago
Peter Steinberger 53ec8e36cb refactor: centralize failover error parsing 10 months ago
Peter Steinberger c27b1441f7 fix(auth): billing backoff + cooldown UX 10 months ago
Peter Steinberger 7e81980747 refactor: centralize model override validation 10 months ago
Peter Steinberger 7b81d97ec2 feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
10 months ago
Peter Steinberger 0b611fc354 docs: add OAuth deep dive 10 months ago
Peter Steinberger 4fb9293c29 docs: fix internal doc links 11 months ago
Peter Steinberger db4d0b8e75 docs: reorganize documentation structure 11 months ago