Repository navigation
feat(antigravity): add Gemini 4 Neon models - #507
Merged
Merged
Conversation
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
Adds the Gemini 4 Neon models now offered in Google Antigravity to the bundled Google AI Pro / Antigravity plugin:
gemini-4-neon-xhigh/-high/-medium/-lowThe model IDs, display names, and
model_enumvalues (MODEL_PLACEHOLDER_M535,M532,M533,M534) come from a livev1internal:fetchAvailableModelsresponse on an entitled account and matchagy1.5.11. Accounts without access receivegemini-4-neon-disabled; the existing-disabledprefix suppression hides every shipped Neon variant for them.No feature flag: this only adds catalog entries to a plugin that already ships.
Verification
packages/antigravity-plugin:bun test --timeout 5000 --rerun-each 10(900 pass across 10 reruns),bun run typecheck,bun pm pack --dry-runpackages/core:provider-antigravity.test.tsandsession-antigravity-error.test.ts(15 pass),bun run typecheck:tscbun run checkand Prettier check passedwrapGenerateRequest+applyRequestHeaderson an entitled account:gemini-4-neon-xhigh,gemini-4-neon-high,gemini-4-neon-medium, andgemini-4-neon-loweach returned HTTP 200 with the expected replyVisual