fix(gemini-api-dev): use GA model codes, drop retired -preview suffixes - #54
Open
0xgerel wants to merge 1 commit into
Open
fix(gemini-api-dev): use GA model codes, drop retired -preview suffixes#540xgerel wants to merge 1 commit into
0xgerel wants to merge 1 commit into
Conversation
The Current Models list recommended preview model codes that are retired or superseded by their GA releases on ai.google.dev: - gemini-3.1-flash-lite-preview -> gemini-3.1-flash-lite (the -preview build shut down 2026-05-25; GA is stable) - gemini-3-pro-image-preview -> gemini-3-pro-image (GA 'Nano Banana Pro'; -preview shuts down 2026-06-25) - gemini-3.1-flash-image-preview -> gemini-3.1-flash-image (GA 'Nano Banana 2'; -preview shuts down 2026-06-25) Verified against the live models, pricing, and deprecations pages at https://ai.google.dev/gemini-api/docs. gemini-3.1-pro-preview is left as-is (no stable GA code exists yet). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the model names in skills/gemini-api-dev/SKILL.md by removing the -preview suffix from several Gemini models, including gemini-3.1-flash-lite, gemini-3-pro-image, and gemini-3.1-flash-image. There are no review comments, and I have no feedback to provide.
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
The
gemini-api-devskill's Current Models (Use These) list recommends three preview model codes that are now retired or superseded by their GA releases. This swaps them for the stable GA codes:gemini-3.1-flash-lite-previewgemini-3.1-flash-lite-previewbuild shut down 2026-05-25; GA is stablegemini-3-pro-image-previewgemini-3-pro-image-previewshuts down 2026-06-25gemini-3.1-flash-image-previewgemini-3.1-flash-image-previewshuts down 2026-06-25gemini-3.1-pro-previewis intentionally left unchanged — no stable GA code exists for it yet.Why
A skill whose explicit purpose is "current model specifications" was steering callers onto a model code that has already been shut down (
gemini-3.1-flash-lite-preview), which fails at call time, plus two image codes about to be retired in favor of their GA names.Verification
Checked each code against the live docs at https://ai.google.dev/gemini-api/docs:
gemini-3.1-flash-lite,gemini-3-pro-image, andgemini-3.1-flash-imageas the stable GA codes.gemini-3.1-flash-lite-previewshutdown 2026-05-25; the two-image-previewcodes shutdown 2026-06-25.Three-line change, no behavior beyond the model list.
🤖 Generated with Claude Code