Conversation
…vider. Frontier rungs ask for github; that overwrote S16_GATEWAY_PROVIDER and broke every budgeted wait/resume on a Gemini-only gateway. Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Session 16 — graded ✅Score: +100.
|
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.
What breaks
A budgeted run (wait/resume, unattended triage, any
budget=graph) sends the ladder request body. The frontier rung namesprovider: github. That field overwritesS16_GATEWAY_PROVIDER, so a Gemini-only gateway returns 4xx on every budgeted call. The same prompt without a ceiling still works, because the unbudgeted path never sends the tier body.Repro / test
Fails on main, passes here:
Live shape:
S16_GATEWAY_PROVIDER=gemini, park a run with a small budget. Gateway is asked forgithub/openai/gpt-4.1.Fix
If the operator pin is set and the tier names a different provider, drop that provider and its paired model. Keep other tier fields (
max_tokens,reasoning). A rung that is already on the pinned provider still chooses its model.