Skip to content

feat: add automatic account fallback retry and bump version to 0.1.5#6

Merged
gnahz77 merged 2 commits into
mainfrom
dev
May 30, 2026
Merged

feat: add automatic account fallback retry and bump version to 0.1.5#6
gnahz77 merged 2 commits into
mainfrom
dev

Conversation

@gnahz77

@gnahz77 gnahz77 commented May 30, 2026

Copy link
Copy Markdown
Owner

Summary
This PR improves multi-account request reliability by automatically retrying with another eligible OAuth account when the current request fails. It also bumps the package version to 0.1.5.
Changes

  • add fetchWithAccountFallback to retry requests across eligible OAuth accounts
  • expose resolveCandidateAccounts for candidate selection reuse
  • update plugin request flow to prefer fallback-capable OAuth candidates when a raw model is specified
  • keep existing winner-selection behavior by building resolveWinnerAccount on top of candidate resolution
  • bump package version from 0.1.4 to 0.1.5
  • update README and README.zh usage examples to reference 0.1.5
    Why
    Previously, a request could fail even when other authenticated accounts in the pool were still eligible for the target model. This change makes routing more resilient by failing over to the next available account automatically.
    Impact
  • improves success rate for multi-account setups
  • preserves existing account selection rules
  • only applies fallback behavior to eligible OAuth accounts with refresh tokens

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@gnahz77 gnahz77 merged commit 23f46ea into main May 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants