Skip to content

fix(antigravity): map deprecated Gemini 3 Pro to Gemini 3.1 Pro#21920

Open
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Asm3r96:fix/gemini-3.1-pro
Open

fix(antigravity): map deprecated Gemini 3 Pro to Gemini 3.1 Pro#21920
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Asm3r96:fix/gemini-3.1-pro

Conversation

@Asm3r96
Copy link

@Asm3r96 Asm3r96 commented Feb 20, 2026

Summary

Fixes #21875

  • Google deprecated Gemini 3 Pro in Google Antigravity. Users selecting a Gemini model via the google-antigravity provider get: "Gemini 3 Pro is no longer available. Please switch to Gemini 3.1 Pro"
  • The existing normalizeGoogleModelId function was never called for the google-antigravity provider path — only for the direct google (API key) provider
  • Adds normalizeAntigravityModelId that remaps gemini-3-pro and gemini-3-pro-preview to gemini-3.1-pro
  • Wires it into normalizeProviderModelId for the google-antigravity provider

Test plan

  • CI passes
  • Configure google-antigravity/gemini-3-pro and verify it resolves to gemini-3.1-pro
  • Verify direct google provider (gemini-3-pro-preview) is unaffected

@openclaw-barnacle openclaw-barnacle bot added agents Agent runtime and tooling size: XS labels Feb 20, 2026
…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.
@openclaw-barnacle
Copy link

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle bot added the stale Marked as stale due to inactivity label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling size: XS stale Marked as stale due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Gemini 3.0 Pro No Longer Supported in Antigravity

1 participant