Skip to content

Conversation

@scidomino
Copy link
Collaborator

@scidomino scidomino commented Dec 17, 2025

Summary

Gemini 3 Flash, now available in your terminal!

GeminiCLI_Gemini3Flash_Option01_16x9

joshualitt and others added 18 commits December 16, 2025 10:58
#80)

* Update models menu dialog to support manual model selection and group by model family

* fix tests

* update codebase investigator model setting

* fix test

* fix test

* update generated golden file

* regenerate scheme and doc for settings

* use Preview Auto if previewFeatures is set to true
* auto and fallback work

* test fixes

* fixes

* Show model dialog even if there's no more fallback option

* fix tests

* fix failing test

* disable showInDialog for model in settings

* revert package-lock.json

* remove dup line

---------

Co-authored-by: Sehoon Shon <[email protected]>
#83)

* Use Preview Flash model if the main model is a preview model for codebase investigator

* fix test

* Generate settings doc
* Update display name for alias model

* fix tests
* feat(core): Disable todos for 3 family.

* tidy
* Update docs.

* Update model docs.
@scidomino scidomino requested a review from a team as a code owner December 17, 2025 15:41
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @scidomino, 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 significantly enhances the Gemini CLI's model selection and fallback mechanisms, particularly for Gemini 3 (Pro and Flash) models. It refines how 'auto' model aliases are resolved, updates documentation to reflect new model offerings and access methods, and improves the user experience around model availability and quota handling. The changes aim to provide more granular control and clearer guidance for users selecting models, while also ensuring robust fallback behavior.

Highlights

  • Enhanced Model Selection: The model selection dialog (/model command) has been refactored to offer clearer choices, including 'Auto (Gemini 3)', 'Auto (Gemini 2.5)', and 'Manual' options. This provides users with more granular control over model usage, especially with the introduction of Gemini 3 Flash and Pro models.
  • Updated Gemini 3 Access and Documentation: Documentation for Gemini 3 models (Pro and Flash) has been significantly updated to reflect current access policies for paid and free-tier users, removing the previous waitlist system. Instructions for enabling preview features and upgrading the CLI are now more streamlined.
  • Refined Fallback and Quota Handling: The logic for handling model fallback and quota errors has been improved. The system now uses a policy-driven approach for model availability, and the ProQuotaDialog and useQuotaAndFallback hooks have been updated to provide more precise error messages and fallback options.
  • Codebase Investigator Model Logic: The Codebase Investigator agent's model selection now intelligently defaults to a preview Flash model if the main configured model is a Gemini 3 preview model, otherwise it defaults to a Gemini 2.5 model, ensuring optimal performance for investigation tasks.
  • Internal Code Refactoring: Various internal components, including AppContainer tests, model resolution utilities, and configuration handling, have been refactored to align with the new model selection and availability architecture, improving maintainability and consistency.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link

Size Change: +3.44 kB (+0.02%)

Total Size: 21.6 MB

Filename Size Change
./bundle/gemini.js 21.6 MB +3.44 kB (+0.02%)
ℹ️ View Unchanged
Filename Size
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB
./bundle/sandbox-macos-permissive-open.sb 890 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB

compressed-size-action

@scidomino scidomino changed the title merge orion's belt feat: launch Gemini 3 Flash in Gemini CLI 🚀🚀🚀 Dec 17, 2025
@scidomino scidomino changed the title feat: launch Gemini 3 Flash in Gemini CLI 🚀🚀🚀 feat: launch Gemini 3 Flash in Gemini CLI ⚡️⚡️⚡️ Dec 17, 2025
Copy link
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 introduces a major and well-executed refactoring of the model selection and fallback logic. The changes include a new two-step model selection UI, a centralized policy-driven model availability service that replaces the old fallback system, and improved handling of user quotas and access to preview models. These updates provide users with more explicit control over model selection and make the overall system more robust and maintainable. The documentation and tests have been thoroughly updated to reflect these significant architectural improvements. I have no high or critical severity feedback; the changes are excellent.

@scidomino
Copy link
Collaborator Author

This branch was released and this PR is unnecessary. Will merge into main from a different branch.

@scidomino scidomino closed this Dec 17, 2025
@scidomino scidomino deleted the hotfix/v0.21.0/fix-bug branch December 17, 2025 17:45
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.

7 participants