Repository navigation
feat(warden): Add gpt-5.6-luna fallback model - #238
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Reviews a hunk on gpt-5.6-luna when grok-4.5 is over capacity, erroring, or stalled. Routes through OpenRouter, so no new secret.
Jeffreyhung
approved these changes
Nov 30, 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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Sets
[defaults.agent] fallbackModel = "openrouter/openai/gpt-5.6-luna". When grok-4.5 is over capacity, erroring, or stalled, Warden reviews the hunk on gpt-5.6-luna instead of failing it. After 5 provider failures in a row, the rest of the run uses the fallback. Budget caps still stop the run.Merge only after a Warden release that includes getsentry/warden#588. Warden's config schema is strict, so current releases reject
fallbackModeland every org run would fail on config load.No new secret: the fallback goes through the existing
WARDEN_OPENROUTER_API_KEYand stays under the same OpenRouter budget cap. The only failures seen outside the Nov 24 budget spike were grok capacity errors, which this covers. An outage of OpenRouter itself isn't covered. If those show up, switching toopenai/gpt-5.6-lunawould need aWARDEN_OPENAI_API_KEYorg Actions secret with its own provider spend limit. A getsentry org owner would add it.via @dcramer.
--
View Session [Sentry]