Fix: incorrect Gemini 3 Flash ID for GitHub provider#94
Fix: incorrect Gemini 3 Flash ID for GitHub provider#94decolua merged 1 commit intodecolua:masterfrom
Conversation
2fdb629 to
4d70b79
Compare
There was a problem hiding this comment.
Pull request overview
Fixes GitHub Copilot (gh) provider model selection by correcting the Gemini 3 Flash model ID to the required -preview variant so the model can load successfully.
Changes:
- Update
ghprovider model ID fromgemini-3-flashtogemini-3-flash-preview.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
open-sse/config/providerModels.js
Outdated
| { id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" }, | ||
| { id: "gemini-3-flash", name: "Gemini 3 Flash" }, | ||
| { id: "gemini-3-flash-preview", name: "Gemini 3 Flash" }, | ||
| { id: "gemini-3-pro", name: "Gemini 3 Pro" }, |
There was a problem hiding this comment.
gh now lists gemini-3-flash-preview, but DEFAULT_PRICING.gh (and any other pricing/model lookup tables keyed by model ID) still use gemini-3-flash. This will make cost calculation fall back to $0 for this model. Update the corresponding pricing key (or provide an alias/mapping) so the new model ID has pricing data.
| { id: "gemini-3-pro", name: "Gemini 3 Pro" }, | |
| { id: "gemini-3-flash", name: "Gemini 3 Flash" }, |
open-sse/config/providerModels.js
Outdated
| { id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" }, | ||
| { id: "gemini-3-flash", name: "Gemini 3 Flash" }, | ||
| { id: "gemini-3-flash-preview", name: "Gemini 3 Flash" }, | ||
| { id: "gemini-3-pro", name: "Gemini 3 Pro" }, |
There was a problem hiding this comment.
The display name Gemini 3 Flash no longer matches the selected model ID gemini-3-flash-preview. Consider renaming this entry to include Preview (to match the gc provider’s naming) so users can distinguish preview vs non-preview models in the UI/logs.
| { id: "gemini-3-pro", name: "Gemini 3 Pro" }, | |
| { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" }, |
4d70b79 to
b4baf8d
Compare
|
@decolua i fix version conflict |
Bug Fix
The model ID for Gemini 3 Flash in the GitHub Copilot (
gh) provider was incorrect (gemini-3-flash), causing it to fail. The correct ID requires the-previewsuffix.Changes
gemini-3-flashtogemini-3-flash-previewin theghprovider list.Verification
I tested this locally.