Skip to content

feat: use gemini-3 in tests#101

Open
markmcd wants to merge 1 commit intogoogle-gemini:mainfrom
markmcd:gemini3
Open

feat: use gemini-3 in tests#101
markmcd wants to merge 1 commit intogoogle-gemini:mainfrom
markmcd:gemini3

Conversation

@markmcd
Copy link
Copy Markdown
Member

@markmcd markmcd commented Apr 29, 2026

This switches to the current generation of models. Uses the same family (e.g. 2.5-pro -> 3.1-pro-preview).

Also ups the max_output_tokens in some cases to ensure thinking tokens don't cause premature finish.

This switches to the current generation of models. Uses the same family
(e.g. 2.5-pro -> 3.1-pro-preview).

Also ups the max_output_tokens in some cases to ensure thinking tokens
don't cause premature finish.
Copy link
Copy Markdown
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 updates the Gemini model versions across all language examples (Go, Java, JavaScript, Python, and REST) to the latest preview versions, specifically transitioning to gemini-3-flash-preview and gemini-3.1-pro-preview. Additionally, the max_output_tokens parameter in the model configuration examples was increased from 20 to 200. Feedback across all languages indicates that while the token limit increase is beneficial, the use of Flash models in these specific configuration examples may not align with the PR's objective of demonstrating thinking token handling, which is a feature of the Pro model family.

Comment thread go/configure_model_parameters.go
Comment thread java/src/main/java/com/example/gemini/ConfigureModelParameters.java
Comment thread javascript/configure_model_parameters.js
Comment thread python/configure_model_parameters.py
@markmcd markmcd mentioned this pull request Apr 30, 2026
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.

2 participants