fix(gemini): sweep hardcoded Gemini defaults to gemini-3.6-flash (fixes #32360) - #73570
Merged
Conversation
Contributor
૮ >ﻌ< ა ci reviewran on 34656b2 all good! |
#32360) gemini-2.5-flash shuts down Oct 16 2026 (Google deprecation schedule) and gemini-3-flash-preview is superseded. Update every hardcoded default to the current GA flash model: - gemini_native_adapter: probe_gemini_tier + _create_chat_completion default params; free-tier guidance de-pinned from a specific model's RPD number so it doesn't stale again - auxiliary_client: gemini/kilocode fallback aux models, _OPENROUTER_MODEL, _NOUS_MODEL -> google/gemini-3.6-flash (verified live on both OpenRouter and Nous portal /models) - provider plugins: kilocode + vertex default_aux_model - hindsight memory plugin: gemini provider default - setup wizard gemini list: 3-flash-preview -> 3.6-flash (matches the curated picker catalog) - tests: aux-client assertions that pinned the old default literal now reference the _NOUS_MODEL constant, so the next default bump can't break them (change-detector cleanup) Fixes #32360.
Sibling of the test_auxiliary_client.py cleanup — these two assertions pinned the OpenRouter/Nous aux default as a frozen literal and broke on the 3.6-flash bump (CI slice 5). Reference _OPENROUTER_MODEL/_NOUS_MODEL instead so the next default rotation can't break them.
teknium1
force-pushed
the
hermes/hermes-8ff61387
branch
from
July 28, 2026 20:34
f098fc2 to
34656b2
Compare
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.
Summary
Every hardcoded Gemini default model now points at
gemini-3.6-flash—gemini-2.5-flash(Google shutdown Oct 16, 2026) and the supersededgemini-3-flash-previewno longer appear as functional defaults anywhere. Fixes #32360 (reported by @hbentel with the full site inventory).Why these exist at all: they're offline/zero-config fallbacks (probe params,
default_aux_modelon provider profiles, aux-client fallback dict). The failure mode is that they were point-in-time snapshots with nothing tying them to the catalog — the gemini plugin's contract test (from #70416) now covers that one; the aux-client tests were converted from literals to the_NOUS_MODELconstant so the next bump can't silently break them.Changes
agent/gemini_native_adapter.py:probe_gemini_tier+_create_chat_completiondefault params →gemini-3.6-flash; free-tier guidance de-pinned from a dated model/RPD numberagent/auxiliary_client.py:_OPENROUTER_MODEL,_NOUS_MODEL, and thegemini/kilocodefallback aux entries →gemini-3.6-flashplugins/model-providers/{kilocode,vertex}:default_aux_model→google/gemini-3.6-flashplugins/model-providers/openrouter: fallback_models entry updatedplugins/memory/hindsight: gemini provider default →gemini-3.6-flashhermes_cli/setup.py: wizard gemini list matches the curated picker catalogtests/agent/test_auxiliary_client.py: default-model assertions now reference_NOUS_MODELinstead of frozen literals (change-detector cleanup)Validation
google/gemini-3.6-flashverified live on OpenRouter + Nous portal /models; pricing entry landed in #73516Fixes #32360.
Infographic