Repository navigation
fix(gemini): replace the retired gemini-2.0-flash default with gemini-3.6-flash - #316
Open
pcbeingused333 wants to merge 1 commit into
Open
pcbeingused333 wants to merge 1 commit into
pcbeingused333 wants to merge 1 commit into
Conversation
…-3.6-flash Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gemini-2.0-flashwas shut down by Google on 2026-06-01, but it is still the default Gemini model, so a fresh install that selects the Gemini provider and does not setGEMINI_MODELgets API errors.This switches the default to
gemini-3.6-flash(the replacement Google lists for it) inconfig.py,GeminiProvider, the provider factory, the model-list fallback inconfig_routes.py, the interactive env setup,.env.example, and the Docker env example and compose default. The docs and compose comments that tell users to run withgemini-2.0-flashare updated too. The pricing table is left as it is.Not tried against the live Gemini API (no key available). Gemini 3.x thinking is not controlled by
_is_thinking_model, which only matches 2.5, so the model's default thinking behavior applies.Tests: new
tests/unit/test_gemini_default_model.pychecks the three code defaults (it fails onmain); the existing Gemini and checkpoint unit tests still pass.This pull request was prepared with the assistance of an AI agent (Claude).
🤖 Generated with Claude Code