fix(defaults): replace gemini-3-flash-preview and gemini-2.5-flash with gemini-3.5-flash - #32372
fix(defaults): replace gemini-3-flash-preview and gemini-2.5-flash with gemini-3.5-flash#32372hbentel wants to merge 1 commit into
Conversation
…faults with gemini-3.5-flash Closes NousResearch#32360. gemini-3-flash-preview is an unversioned preview alias with no stability guarantees, and gemini-2.5-flash reaches end-of-life October 16, 2026. Updates all hardcoded defaults across providers, auxiliary client, memory plugins, trajectory compressor, CLI, setup wizard, docs (en + zh-Hans), and the model catalog manifest. Also fixes the model-catalog.json sync by regenerating it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Closing — this PR has been overtaken by Already landed on main via other PRs:
Conflicts with merged intent: The bulk of this diff replaces Residual value is marginal: what remains that's genuinely still on main and not counter to #37606 is a handful of Happy to open that focused PR if/when it's useful. |
Closes #32360.
Problem
Two stale model defaults shipped across the codebase:
gemini-3-flash-preview— an unversioned preview alias that is undocumented, carries no stability guarantees, and (per issue fix: Fallback to gemini-3-flash-preview fails with 400 (thinking_config) #25123) rejectsthinking_configwith HTTP 400.gemini-2.5-flash— scheduled for shutdown October 16, 2026 per Google's deprecation notice.The stable replacement for both is
gemini-3.5-flash(GA, stable versioned ID).Changes
Replaces every hardcoded occurrence in:
gemini,openrouter,kilocodeagent/auxiliary_client.py,agent/gemini_native_adapter.py,agent/gemini_cloudcode_adapter.pyplugins/memory/hindsight/trajectory_compressor.pyhermes_cli/—config.py,setup.py,models.py,main.py,goals.pytools/vision_tools.py,tools/web_tools.pydatagen-config-examples/trajectory_compression.yamlwebsite/static/api/model-catalog.json(regenerated viascripts/build_model_catalog.py)Test-only uses of
gemini-3-flash-previewthat test model-specific routing behavior (e.g. the#25123regression test that verifies the unversioned preview doesn't receivethinking_config) are intentionally preserved.Test plan
scripts/run_tests.sh tests/agent/ tests/tools/ tests/hermes_cli/ tests/cli/ tests/run_agent/— all pass (pre-existing failures intest_anthropic_adapter,test_gateway_wsl,test_gateway_service,test_service_managerare macOS environment issues unrelated to this change)test_provider_parity.pyassertions to expectgemini-3.5-flashtest_auxiliary_client.pyassertions for pool and fallback defaultsmodel-catalog.json;test_model_catalog.pypasses🤖 Generated with Claude Code