Skip to content

fix(gemini): bump native provider aux default to gemini-3.6-flash - #70416

Closed
ildunari wants to merge 1 commit into
NousResearch:mainfrom
ildunari:upstream/gemini-aux-default-bump
Closed

fix(gemini): bump native provider aux default to gemini-3.6-flash#70416
ildunari wants to merge 1 commit into
NousResearch:mainfrom
ildunari:upstream/gemini-aux-default-bump

Conversation

@ildunari

Copy link
Copy Markdown
Contributor

Problem: the native Gemini provider profile's default_aux_model and the curated model-picker catalog (hermes_cli/models.py, _PROVIDER_MODELS["gemini"]) were both still pinned to gemini-3.5-flash, superseded by gemini-3.6-flash — the documented, stable model code for the current generation.

Fix: bump both in lockstep so the auxiliary-task default and the picker's offered model stay consistent.

Testing done: contract test (tests/plugins/model_providers/test_gemini_profile.py) asserts the durable lockstep invariant — default_aux_model is always a member of _PROVIDER_MODELS["gemini"] — rather than pinning either side to a frozen model string, so it won't need updating on the next model-generation bump. Confirmed tests/agent/test_auxiliary_client.py's existing gemini reasoning-wire-shape tests are unaffected (they pass an explicit literal model string, not the default).

Other gemini-3.5-flash references elsewhere in hermes_cli/models.py are intentionally left untouched as out of scope for this minimal fix.

The native Gemini provider profile's default_aux_model and the curated
model picker catalog were still pinned to gemini-3.5-flash, a stale
generation now superseded by gemini-3.6-flash (documented GA). Bump
both so the auxiliary-task default and the picker stay in sync with
the current model.

Contract test asserts the durable lockstep invariant only
(default_aux_model is a member of _PROVIDER_MODELS["gemini"]) rather
than pinning either side to a frozen model-name string, so it doesn't
need updating on the next model-generation bump.
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins provider/gemini Google Gemini (AI Studio, Cloud Code) sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades labels Jul 24, 2026
teknium1 added a commit that referenced this pull request Jul 28, 2026
…l snapshot entries

Follow-up to the #60063 salvage: the curated gemini list now carries
gemini-3.6-flash (aux default, #70416) and the vertex list carries
gemini-3.5-flash-lite (#68767) — both need snapshot pricing so direct
Gemini/Vertex sessions don't report cost=unknown.

Rates verified against https://ai.google.dev/gemini-api/docs/pricing
(2026-07-28): 3.6-flash $1.50/$7.50, cache read $0.15;
3.5-flash-lite $0.30/$2.50, cache read $0.03.
@teknium1

Copy link
Copy Markdown
Contributor

Merged via salvage PR #73516 — your commit was cherry-picked onto current main with authorship preserved (e25d516). The contract test approach (default_aux_model must stay in the curated catalog) was kept as-is — nice durable invariant. Thanks @ildunari!

@teknium1 teknium1 closed this Jul 28, 2026
randlee pushed a commit to randlee/hermes-agent that referenced this pull request Aug 11, 2026
…l snapshot entries

Follow-up to the NousResearch#60063 salvage: the curated gemini list now carries
gemini-3.6-flash (aux default, NousResearch#70416) and the vertex list carries
gemini-3.5-flash-lite (NousResearch#68767) — both need snapshot pricing so direct
Gemini/Vertex sessions don't report cost=unknown.

Rates verified against https://ai.google.dev/gemini-api/docs/pricing
(2026-07-28): 3.6-flash $1.50/$7.50, cache read $0.15;
3.5-flash-lite $0.30/$2.50, cache read $0.03.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have provider/gemini Google Gemini (AI Studio, Cloud Code) sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants