Skip to content

fix(failover): stick with one key until it fails then advance - #10

Merged
AndreLCanada merged 2 commits into
andre/prompt-queue-on-upstreamfrom
key-management-ui
Aug 3, 2026
Merged

AndreLCanada merged 2 commits into
andre/prompt-queue-on-upstreamfrom
key-management-ui

Conversation

@AndreLCanada

Copy link
Copy Markdown
Owner

Stops round-robin rotation on every request. Keys now stay fixed until a usage-limit error, then advance to the next key. Only switches providers after all keys in the current provider are exhausted. Also zero-delays eligible retries so the next key is tried immediately.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@AndreLCanada
AndreLCanada merged commit bd8605a into andre/prompt-queue-on-upstream Aug 3, 2026
3 of 8 checks passed
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant