ci(gemini): pin model to gemini-2.5-flash for routine review duty#81
Closed
heskew wants to merge 1 commit into
Closed
ci(gemini): pin model to gemini-2.5-flash for routine review duty#81heskew wants to merge 1 commit into
heskew wants to merge 1 commit into
Conversation
The Gemini reusable defaults to `gemini-2.5-pro`, which is Gemini's flagship tier and the wrong cost/quality match for routine PR review. Claude's reviewer uses Sonnet 4.6 (mid-tier); the apples-to-apples Gemini peer is Flash, not Pro. This also resolves the quota failure on the first dual-reviewer run — `gemini-2.5-pro` has no free-tier allocation on the project behind this repo's `GEMINI_API_KEY` (HTTP 429 with `limit: 0, model: gemini-2.5-pro`), while `gemini-2.5-flash` typically has free-tier capacity. When the reusable's default flips to Flash this override becomes redundant.
3 tasks
|
Reviewed; no blockers found. |
Member
Author
|
Superseded by the new default in Closing in favor of a single pin-bump PR that lands both |
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.
Summary
The Gemini reusable defaults to
gemini-2.5-pro(flagship tier) which is a tier mismatch for routine PR review. Claude's reviewer uses Sonnet 4.6 (mid-tier); the apples-to-apples Gemini peer is Flash, not Pro.This also resolves the quota failure observed on PR #80's first run —
gemini-2.5-prohas no free-tier allocation on the project behind this repo'sGEMINI_API_KEY(HTTP 429 withlimit: 0, model: gemini-2.5-pro).gemini-2.5-flashtypically has free-tier capacity.Once the reusable's default flips to Flash this override becomes redundant; we can drop it then.
Why Flash, not Pro
Pro should be reserved for thorough review modes (mirroring how Opus is reserved on the Claude side via the deep-review flow), not routine per-PR work.
Test plan
🤖 Generated with Claude Code