Feat: added support for gemini-3-pro-preview for gemini cli provider
Context
Added support for the gemini-3-pro-preview model to enhance the capabilities of the gemini CLI provider.
Implementation
Implemented the new model by defining its parameters, including max tokens, context window, and pricing details. No significant refactoring was necessary, and the new model integrates seamlessly with existing structures.
Screenshots
| before | after |
|---|---|
How to Test
- Use the gemini CLI provider with the gemini-3-pro-preview model.
- Verify that the model accepts the defined parameters and functions as expected.
Discord username: injsrc
🦋 Changeset detected
Latest commit: a904cbc7efdc714e4cf6dc98b5e5521fb418a598
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| kilo-code | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
thanks, but apparently just adding the model is not enough, see discussion here: https://github.com/Kilo-Org/kilocode/pull/3864
thanks, but apparently just adding the model is not enough, see discussion here: #3864
I have tested it, and it works as Intended. The Gemini 3 Pro model replies correctly. It is confirmed that the model works. I have rechecked it by running some tests. The results are the same as how Gemini 3 Pro should perform
Note:
- I have a Gemini Pro subscription, and I have access to Gemini 3 Pro in Gemini CLI.
- I have removed deprecated models in a local build of Kilo, which is why the model selector was small
https://github.com/user-attachments/assets/43a5ed35-67c2-4cf8-9d8b-c587eeb65109
I wonder if it only works via Gemini Pro vs free (but beta included) Gemini consumer account?
Is there a way you can query the metadata from google to exclude the model if not working?