Skip to content

feat(models): add gemini-3.1-flash-lite to antigravity and remove deprecated 2.5 models#2752

Closed
sususu98 wants to merge 1 commit intorouter-for-me:devfrom
sususu98:feat/antigravity-flash-lite-update
Closed

feat(models): add gemini-3.1-flash-lite to antigravity and remove deprecated 2.5 models#2752
sususu98 wants to merge 1 commit intorouter-for-me:devfrom
sususu98:feat/antigravity-flash-lite-update

Conversation

@sususu98
Copy link
Copy Markdown
Collaborator

Summary

  • Add gemini-3.1-flash-lite to antigravity provider with verified thinking config (min=1, max=65535, levels: minimal/low/medium/high), tested against upstream API
  • Remove deprecated gemini-2.5-flash and gemini-2.5-flash-lite from antigravity (upstream returns 429 quota exhausted, replaced by gemini-3.1-flash-lite)

Test plan

  • Thinking budget boundary test via Gemini API: confirmed upstream range [-1, 65535]
  • Thinking levels test: none, minimal, low, medium, high all working
  • Context length test: 128K/256K/512K/900K tokens input all pass
  • E2E non-stream request via proxy: gemini-3.1-flash-lite-preview alias routes correctly
  • Compilation and unit tests pass

…els from antigravity

- Add gemini-3.1-flash-lite with verified thinking config (min=1, max=65535,
  levels: minimal/low/medium/high), tested against upstream API
- Remove gemini-2.5-flash and gemini-2.5-flash-lite (upstream returns 429,
  replaced by gemini-3.1-flash-lite)
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the model registry by removing the 'gemini-2.5-flash' and 'gemini-2.5-flash-lite' models and introducing the 'gemini-3.1-flash-lite' model, which includes a detailed thinking configuration. A trailing newline was also added to the models.json file. I have no feedback to provide.

@luispater luispater closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants