fix(antigravity): map deprecated Gemini 3 Pro to Gemini 3.1 Pro#21920
Open
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Open
fix(antigravity): map deprecated Gemini 3 Pro to Gemini 3.1 Pro#21920Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Conversation
…claw#21875) Google deprecated Gemini 3 Pro in Antigravity. Users configuring a Gemini model via the google-antigravity provider now get "Gemini 3 Pro is no longer available". Add normalizeAntigravityModelId to remap gemini-3-pro and gemini-3-pro-preview to gemini-3.1-pro at the model selection layer.
66a36ad to
07f7d8c
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
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
Fixes #21875
google-antigravityprovider get: "Gemini 3 Pro is no longer available. Please switch to Gemini 3.1 Pro"normalizeGoogleModelIdfunction was never called for thegoogle-antigravityprovider path — only for the directgoogle(API key) providernormalizeAntigravityModelIdthat remapsgemini-3-proandgemini-3-pro-previewtogemini-3.1-pronormalizeProviderModelIdfor thegoogle-antigravityproviderTest plan
google-antigravity/gemini-3-proand verify it resolves togemini-3.1-progoogleprovider (gemini-3-pro-preview) is unaffected