docs(docs/ai-coder/ai-gateway): document key failover for AI Gateway - #25893
Merged
Conversation
Docs preview📖 View docs preview for |
ssncferreira
force-pushed
the
docs/ai-gateway-key-failover
branch
12 times, most recently
from
June 1, 2026 12:01
cef8b68 to
6df9aab
Compare
ssncferreira
marked this pull request as ready for review
June 1, 2026 12:06
ssncferreira
force-pushed
the
docs/ai-gateway-key-failover
branch
2 times, most recently
from
June 1, 2026 12:24
9dfe3c9 to
9e58552
Compare
ssncferreira
commented
Jun 1, 2026
dannykopping
approved these changes
Jun 1, 2026
ssncferreira
force-pushed
the
docs/ai-gateway-key-failover
branch
2 times, most recently
from
June 1, 2026 14:28
a6b060b to
fc091e5
Compare
Add documentation for the automatic key failover feature, which allows configuring multiple centralized API keys per provider instance (OpenAI and Anthropic). Changes: - Add 'Key failover' section to providers.md with configuration and failover behavior. - Add BYOK note in auth.md clarifying that failover is skipped for user-supplied credentials.
ssncferreira
force-pushed
the
docs/ai-gateway-key-failover
branch
from
June 1, 2026 14:31
fc091e5 to
f69759d
Compare
dannykopping
approved these changes
Jun 1, 2026
dannykopping
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document the automatic key failover feature for AI Gateway, which allows configuring multiple centralized API keys per provider instance (OpenAI and Anthropic only).
Changes
docs/ai-coder/ai-gateway/providers.md: Add "Key failover" section covering supported providers, configuration via the API (max 5 keys), and failover behavior (auth errors permanently disable a key until restart/reload, exhausted pool returns429or502).docs/ai-coder/ai-gateway/auth.md: Add note in BYOK section clarifying that key failover is skipped when a user-supplied credential is present.Note
Generated by Coder Agents (by @ssncferreira)