Skip to content

google_ai: Update Gemini models#43117

Merged
rtfeldman merged 7 commits intozed-industries:mainfrom
jsparkdev:update-gemini-models
Nov 28, 2025
Merged

google_ai: Update Gemini models#43117
rtfeldman merged 7 commits intozed-industries:mainfrom
jsparkdev:update-gemini-models

Conversation

@jsparkdev
Copy link
Contributor

@jsparkdev jsparkdev commented Nov 20, 2025

Closes #43040

Release Notes:

  • Remove the end-of-support Gemini 1.5 model from the options.
  • Remove the older Gemini 2.0 model from the options.
    • Please let me know if you think it's better to keep it, as it is still a usable model.
  • Update the incorrect amounts for some input/output tokens.
  • Update the default model to Gemini 2.5 Flash-Lite.
  • Rename variant Gemini3ProPreview to Gemini3Pro

When this PR is merged, users will be able to select the following Gemini models.

  • 2.5 Flash
  • 2.5 Flash-Lite
  • 2.5 Pro
  • 3 Pro

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 20, 2025
@jsparkdev
Copy link
Contributor Author

jsparkdev commented Nov 20, 2025

For the Gemini 2.5 Flash and Flash-Lite models, although the better performing preview-09-2025 version could have been used, I've updated to use the stable version for stability in production products.

Please let me know if you have any feedback on this.

@maxdeviant maxdeviant changed the title ai(gemini): Update Model information google_ai: Update Gemini models Nov 20, 2025
@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Nov 20, 2025
Self::Gemini25Flash => "gemini-2.5-flash",
Self::Gemini25Pro => "gemini-2.5-pro",
Self::Gemini3ProPreview => "gemini-3-pro-preview",
Self::Gemini3Pro => "gemini-3-pro-preview",
Copy link
Contributor

Choose a reason for hiding this comment

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

It's weird that they still only have this available as "-preview" but that is what the docs currently say, so I guess that's what we're going with!

Copy link
Contributor

@rtfeldman rtfeldman left a comment

Choose a reason for hiding this comment

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

Thanks @jsparkdev! 🎉

@rtfeldman rtfeldman merged commit 6404939 into zed-industries:main Nov 28, 2025
35 checks passed
@jsparkdev jsparkdev deleted the update-gemini-models branch November 29, 2025 01:29
11happy pushed a commit to 11happy/zed that referenced this pull request Dec 1, 2025
Closes zed-industries#43040

Release Notes:

- Remove the end-of-support Gemini 1.5 model from the options.
- Remove the older Gemini 2.0 model from the options.
- Please let me know if you think it's better to keep it, as it is still
a usable model.
- Update the incorrect amounts for some input/output tokens.
- Update the default model to Gemini 2.5 Flash-Lite.
- Rename variant `Gemini3ProPreview` to `Gemini3Pro`

When this PR is merged, users will be able to select the following
Gemini models.

- 2.5 Flash
- 2.5 Flash-Lite
- 2.5 Pro
- 3 Pro
@franciskafyi franciskafyi moved this from Community PRs to Done in Quality Week – December 2025 Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

Development

Successfully merging this pull request may close these issues.

AI: Error - Gemini 2.5 Flash Lite

3 participants