Skip to content

fix(gemini): refresh AI Studio model fallback - #3241

Merged
diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.11from
wilsonicdev:fix/gemini-ai-studio-3-models
Jun 5, 2026
Merged

diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.11from
wilsonicdev:fix/gemini-ai-studio-3-models

Conversation

@wilsonicdev

Copy link
Copy Markdown
Contributor

Fixes #3231.

Summary

  • refresh the Gemini (Google AI Studio) static fallback so the provider tab exposes current 3.x models
  • include Gemini 2.5 fallback entries while preserving the existing gemini-2.0-flash default ordering
  • strengthen the model catalog regression test to assert the AI Studio fallback includes the current models

Tests

  • node --import tsx/esm --test tests/unit/t28-model-catalog-updates.test.ts tests/unit/executor-default-base.test.ts tests/unit/provider-models-config.test.ts
  • node --import tsx/esm -e 'const { getDefaultModel, getModelsByProviderId } = await import("./open-sse/config/providerModels.ts"); console.log("default", getDefaultModel("gemini")); console.log(getModelsByProviderId("gemini").slice(0,10).map(m=>m.id));'\n- git diff --check

@wilsonicdev
wilsonicdev requested a review from diegosouzapw as a code owner June 5, 2026 16:25

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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 catalog in open-sse/config/providerRegistry.ts by adding several new Gemini models, including Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 3.1 Flash Lite Preview, Gemini 3.5 Flash, Gemini 2.5 Pro, Gemini 2.5 Flash, and Gemini 2.5 Flash Lite. Additionally, the unit test in tests/unit/t28-model-catalog-updates.test.ts has been updated to assert the presence of these new models in the registry and to ensure that gemini-2.0-flash remains the default model. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@diegosouzapw

Copy link
Copy Markdown
Owner

Thanks @wilsonicdev! 🙌 This closes #3231 cleanly — refreshing the AI Studio static fallback so the provider tab shows current 3.x / 2.5 models on first run, while keeping gemini-2.0-flash as the default[0] ordering (the full catalog still comes from API sync once a key is added). The strengthened regression test asserting the new model IDs are present is a good guard. Verified the test locally (6/6 pass).

Merging into release/v3.8.11. Thanks for yet another tidy fix! 🚀

@diegosouzapw
diegosouzapw merged commit b413774 into diegosouzapw:release/v3.8.11 Jun 5, 2026
2 checks passed
diegosouzapw added a commit that referenced this pull request Jun 5, 2026
…s + add contributor hall

Consolidate the split [Unreleased]/[3.8.11] sections into one, add entries for
every merged contributor PR that was missing credit (#3170/#3171/#3172 @pizzav-xyz,
#3185/#3195 @zhiru, #3188 @xz-dev, #3189/#3203/#3204/#3241 @wilsonicdev, #3191 @bypanghu,
#3206 @juandisay, #3217 @oyi77, #3226 @miracuves, #3187/#3200 maintainer), drop stale
v3.8.8 leftovers (#2958/#2959 already shipped) and 3 empty v3.8.10 stub headers.
@diegosouzapw diegosouzapw mentioned this pull request Jun 5, 2026
wilsonicdev added a commit to wilsonicdev/OmniRoute that referenced this pull request Jun 6, 2026
Refresh Gemini AI Studio static model fallback to current 3.x/2.5 models (closes diegosouzapw#3231).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
wilsonicdev pushed a commit to wilsonicdev/OmniRoute that referenced this pull request Jun 6, 2026
HouMinXi pushed a commit to HouMinXi/OmniRoute that referenced this pull request Aug 2, 2026
Refresh Gemini AI Studio static model fallback to current 3.x/2.5 models (closes diegosouzapw#3231).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
HouMinXi pushed a commit to HouMinXi/OmniRoute that referenced this pull request Aug 2, 2026
Poid-ZA pushed a commit to Poid-ZA/OmniRoute that referenced this pull request Aug 5, 2026
Refresh Gemini AI Studio static model fallback to current 3.x/2.5 models (closes diegosouzapw#3231).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
Poid-ZA pushed a commit to Poid-ZA/OmniRoute that referenced this pull request Aug 5, 2026
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
Refresh Gemini AI Studio static model fallback to current 3.x/2.5 models (closes diegosouzapw#3231).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 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