fix(gemini): refresh AI Studio model fallback - #3241
diegosouzapw merged 1 commit into
Conversation
There was a problem hiding this comment.
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.
|
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 Merging into |
…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.
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.
…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 (diegosouzapw#3170/diegosouzapw#3171/diegosouzapw#3172 @pizzav-xyz, diegosouzapw#3185/diegosouzapw#3195 @zhiru, diegosouzapw#3188 @xz-dev, diegosouzapw#3189/diegosouzapw#3203/diegosouzapw#3204/diegosouzapw#3241 @wilsonicdev, diegosouzapw#3191 @bypanghu, diegosouzapw#3206 @juandisay, diegosouzapw#3217 @oyi77, diegosouzapw#3226 @miracuves, diegosouzapw#3187/diegosouzapw#3200 maintainer), drop stale v3.8.8 leftovers (diegosouzapw#2958/diegosouzapw#2959 already shipped) and 3 empty v3.8.10 stub headers.
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.
…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 (diegosouzapw#3170/diegosouzapw#3171/diegosouzapw#3172 @pizzav-xyz, diegosouzapw#3185/diegosouzapw#3195 @zhiru, diegosouzapw#3188 @xz-dev, diegosouzapw#3189/diegosouzapw#3203/diegosouzapw#3204/diegosouzapw#3241 @wilsonicdev, diegosouzapw#3191 @bypanghu, diegosouzapw#3206 @juandisay, diegosouzapw#3217 @oyi77, diegosouzapw#3226 @miracuves, diegosouzapw#3187/diegosouzapw#3200 maintainer), drop stale v3.8.8 leftovers (diegosouzapw#2958/diegosouzapw#2959 already shipped) and 3 empty v3.8.10 stub headers.
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.
…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 (diegosouzapw#3170/diegosouzapw#3171/diegosouzapw#3172 @pizzav-xyz, diegosouzapw#3185/diegosouzapw#3195 @zhiru, diegosouzapw#3188 @xz-dev, diegosouzapw#3189/diegosouzapw#3203/diegosouzapw#3204/diegosouzapw#3241 @wilsonicdev, diegosouzapw#3191 @bypanghu, diegosouzapw#3206 @juandisay, diegosouzapw#3217 @oyi77, diegosouzapw#3226 @miracuves, diegosouzapw#3187/diegosouzapw#3200 maintainer), drop stale v3.8.8 leftovers (diegosouzapw#2958/diegosouzapw#2959 already shipped) and 3 empty v3.8.10 stub headers.
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.
…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 (diegosouzapw#3170/diegosouzapw#3171/diegosouzapw#3172 @pizzav-xyz, diegosouzapw#3185/diegosouzapw#3195 @zhiru, diegosouzapw#3188 @xz-dev, diegosouzapw#3189/diegosouzapw#3203/diegosouzapw#3204/diegosouzapw#3241 @wilsonicdev, diegosouzapw#3191 @bypanghu, diegosouzapw#3206 @juandisay, diegosouzapw#3217 @oyi77, diegosouzapw#3226 @miracuves, diegosouzapw#3187/diegosouzapw#3200 maintainer), drop stale v3.8.8 leftovers (diegosouzapw#2958/diegosouzapw#2959 already shipped) and 3 empty v3.8.10 stub headers.
Fixes #3231.
Summary
gemini-2.0-flashdefault orderingTests
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.tsnode --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