Skip to content

Conversation

@I3eka
Copy link
Contributor

@I3eka I3eka commented Feb 10, 2026

Bug Fix

The model ID for Gemini 3 Pro in the GitHub Copilot (gh) provider was missing the -preview suffix, which caused requests to this model to fail.

Changes

  • Updated the ID for Gemini 3 Pro from gemini-3-pro to gemini-3-pro-preview.

Verification

I confirmed locally that the model does not work with the old ID but functions correctly after this change.
image_2026-02-10_17-10-30

image_2026-02-10_17-11-18

Copilot AI review requested due to automatic review settings February 10, 2026 12:12
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’s Gemini 3 Pro model identifier so requests don’t fail due to a missing -preview suffix.

Changes:

  • Updated gh Gemini 3 Pro model id from gemini-3-pro to gemini-3-pro-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-pro", name: "Gemini 3 Pro" },
{ id: "gemini-3-pro-preview", 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 here is inconsistent with the actual model ID and with other entries in this same file (e.g., gc and gemini both label gemini-3-pro-preview as “Gemini 3 Pro Preview”). Keeping the name as “Gemini 3 Pro” may confuse users who expect the stable/non-preview variant; consider renaming to “Gemini 3 Pro Preview” for consistency/clarity.

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

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-pro", name: "Gemini 3 Pro" },
{ id: "gemini-3-pro-preview", 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.

Changing the gh model ID from gemini-3-pro to gemini-3-pro-preview will leave other mappings out of sync: src/shared/constants/pricing.js still defines GitHub Copilot pricing under the old key (gh["gemini-3-pro"]), and README usage examples still reference gh/gemini-3-pro. This will likely result in missing/incorrect pricing display for this model and outdated docs unless those references are updated as part of this PR.

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

Copilot uses AI. Check for mistakes.
@decolua decolua merged commit d36bd63 into decolua:master Feb 10, 2026
5 of 7 checks passed
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