kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

Feat: added support for gemini-3-pro-preview for gemini cli provider

Open inj-src opened this issue 1 month ago • 4 comments

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
image image

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

inj-src avatar Nov 28 '25 04:11 inj-src

🦋 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

changeset-bot[bot] avatar Nov 28 '25 04:11 changeset-bot[bot]

thanks, but apparently just adding the model is not enough, see discussion here: https://github.com/Kilo-Org/kilocode/pull/3864

chrarnoldus avatar Nov 28 '25 08:11 chrarnoldus

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:

  1. I have a Gemini Pro subscription, and I have access to Gemini 3 Pro in Gemini CLI.
  2. 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

inj-src avatar Nov 28 '25 16:11 inj-src

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?

mcowger avatar Nov 29 '25 20:11 mcowger