Skip cooldowned providers during model failover#2143
Merged
gumadeiras merged 2 commits intoopenclaw:mainfrom Jan 27, 2026
Merged
Skip cooldowned providers during model failover#2143gumadeiras merged 2 commits intoopenclaw:mainfrom
gumadeiras merged 2 commits intoopenclaw:mainfrom
Conversation
When all auth profiles for a provider are in cooldown, the failover mechanism now skips that provider immediately rather than attempting and waiting for the cooldown error. This prevents long delays when multiple OAuth providers fail in sequence.
gumadeiras
added a commit
that referenced
this pull request
Jan 27, 2026
gumadeiras
added a commit
that referenced
this pull request
Jan 27, 2026
gumadeiras
added a commit
that referenced
this pull request
Jan 27, 2026
Member
tyler6204
added a commit
that referenced
this pull request
Jan 27, 2026
Based on issue #2142. This PR improves the model failover experience by skipping providers where all auth profiles are currently in cooldown. This avoids the cumulative delay when multiple OAuth-based providers (like google-gemini-cli or google-antigravity) fail or expire simultaneously.
Changes:
runWithModelFallback, we now check the auth store to see if any profiles for the candidate provider are available (not in cooldown).zai) without artificial delays.