Skip to content

Conversation

@I3eka
Copy link
Contributor

@I3eka I3eka commented Feb 10, 2026

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 -preview suffix.

Changes

  • Updated the ID from gemini-3-flash to gemini-3-flash-preview in the gh provider list.

Verification

I tested this locally.

  • Before: The model failed to load with the old ID.
  • After: The model works correctly with the updated ID.
image_2026-02-10_16-54-19 image_2026-02-10_16-55-38

Copilot AI review requested due to automatic review settings February 10, 2026 11:56
@I3eka I3eka force-pushed the fix-gh-gemini-flash-id branch from 2fdb629 to 4d70b79 Compare February 10, 2026 11:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 gh provider model ID from gemini-3-flash to gemini-3-flash-preview.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

{ 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" },
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
{ id: "gemini-3-pro", name: "Gemini 3 Pro" },
{ id: "gemini-3-flash", name: "Gemini 3 Flash" },

Copilot uses AI. Check for mistakes.
{ 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" },
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
{ id: "gemini-3-pro", name: "Gemini 3 Pro" },
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },

Copilot uses AI. Check for mistakes.
@I3eka I3eka force-pushed the fix-gh-gemini-flash-id branch from 4d70b79 to b4baf8d Compare February 10, 2026 12:31
@I3eka
Copy link
Contributor Author

I3eka commented Feb 10, 2026

@decolua i fix version conflict

@decolua decolua merged commit 4ea9a9d into decolua:master Feb 10, 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