fix: remove deprecated gemini-3-pro-preview from gemini-cli model list#1824
Conversation
gemini-3-pro-preview has been taken down by Google and is no longer available. Its presence in the static model list was also preventing gemini-3.1-pro-preview from being visible in the available models list. Replaced by keeping gemini-3.1-pro-preview as the primary Pro Preview model.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses the deprecation of the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request removes the deprecated gemini-3-pro-preview model from the gemini-cli model list. My feedback is to remove the model definition block entirely instead of commenting it out, to avoid leaving dead code in the codebase.
I also noticed that gemini-3-pro-preview is still present in other model lists (GetGeminiModels, GetGeminiVertexModels, GetAIStudioModels). Since the model is deprecated, consider removing it from these lists as well for consistency, either in this PR or a follow-up.
| // { | ||
| // ID: "gemini-3-pro-preview", | ||
| // Object: "model", | ||
| // Created: 1737158400, | ||
| // OwnedBy: "google", | ||
| // Type: "gemini", | ||
| // Name: "models/gemini-3-pro-preview", | ||
| // Version: "3.0", | ||
| // DisplayName: "Gemini 3 Pro Preview", | ||
| // Description: "Our most intelligent model with SOTA reasoning and multimodal understanding, and powerful agentic and vibe coding capabilities", | ||
| // InputTokenLimit: 1048576, | ||
| // OutputTokenLimit: 65536, | ||
| // SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"}, | ||
| // Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true, Levels: []string{"low", "high"}}, | ||
| // }, |
gemini-3-pro-preview has been taken down by Google and is no longer available. Its presence in the static model list was also preventing gemini-3.1-pro-preview from being visible in the available models list.
Replaced by keeping gemini-3.1-pro-preview as the primary Pro Preview model.