Skip to content

feat(warden): Add gpt-5.6-luna fallback model - #238

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
feat/warden-fallback-model
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
feat/warden-fallback-model

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

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 fallbackModel and every org run would fail on config load.

No new secret: the fallback goes through the existing WARDEN_OPENROUTER_API_KEY and 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 to openai/gpt-5.6-luna would need a WARDEN_OPENAI_API_KEY org Actions secret with its own provider spend limit. A getsentry org owner would add it.

via @dcramer.

--

View Session [Sentry]

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.
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 30, 2026 21:47
@sentry-junior
sentry-junior Bot requested a review from dcramer November 30, 2026 21:47
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.

2 participants