Skip to content

Conversation

@I3eka
Copy link
Contributor

@I3eka I3eka commented Feb 10, 2026

Summary

Added GPT-4o-mini to the list of supported models for the GitHub Copilot (gh) provider.

Changes

  • Updated PROVIDER_MODELS constant.
  • Added { id: "gpt-4o-mini", name: "GPT-4o mini" } to the gh array.

Motivation

Enables users to select GPT-4o mini when using the GitHub Copilot provider key.

image_2026-02-10_18-29-40

Copilot AI review requested due to automatic review settings February 10, 2026 13:30
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

Adds gpt-4o-mini as a selectable model under the GitHub Copilot (gh) provider in the shared provider model registry.

Changes:

  • Added gpt-4o-mini to the gh provider model list in PROVIDER_MODELS.

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

Comment on lines +68 to 69
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
{ id: "gpt-4.1", name: "GPT-4.1" },
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.

Adding gpt-4o-mini as the first entry in the gh model list changes the provider’s default model because getDefaultModel() returns models?.[0]?.id. If the default for GitHub Copilot is intended to remain gpt-4.1, append this model later in the list or introduce an explicit per-provider default selection instead of relying on array order.

Suggested change
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
{ id: "gpt-4.1", name: "GPT-4.1" },
{ id: "gpt-4.1", name: "GPT-4.1" },
{ id: "gpt-4o-mini", name: "GPT-4o mini" },

Copilot uses AI. Check for mistakes.
{ id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
],
gh: [ // GitHub Copilot - OpenAI models
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
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.

Model display name casing is inconsistent: this entry uses "GPT-4o mini" while other "Mini" variants in this list (e.g., "GPT-5 Mini") and the openai provider list use "GPT-4o Mini". Consider standardizing the casing to avoid duplicate-looking entries or inconsistent UI labels.

Suggested change
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
{ id: "gpt-4o-mini", name: "GPT-4o Mini" },

Copilot uses AI. Check for mistakes.
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.

1 participant