Skip to content

Conversation

@I3eka
Copy link
Contributor

@I3eka I3eka commented Feb 10, 2026

Summary

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

Changes

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

Motivation

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

image_2026-02-10_18-37-07

Copilot AI review requested due to automatic review settings February 10, 2026 13:38
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-4 as a selectable model for the GitHub Copilot (gh) provider by extending the provider model allowlist used across open-sse.

Changes:

  • Added { id: "gpt-4", name: "GPT-4" } to the gh provider’s model list.
  • Updated the PROVIDER_MODELS constant accordingly.

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

Comment on lines 67 to 69
gh: [ // GitHub Copilot - OpenAI models
{ id: "gpt-4", name: "GPT-4" },
{ 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-4 at the top of the gh model list changes the default model for the GitHub Copilot provider because getDefaultModel() returns the first entry in PROVIDER_MODELS[alias]. If the intent is only to add support (not change defaults), place gpt-4 after the current default (or explicitly keep the desired default first) and/or document the default-model ordering expectation.

Suggested change
gh: [ // GitHub Copilot - OpenAI models
{ id: "gpt-4", name: "GPT-4" },
{ id: "gpt-4.1", name: "GPT-4.1" },
gh: [ // GitHub Copilot - OpenAI models (first entry is the default model)
{ id: "gpt-4.1", name: "GPT-4.1" },
{ id: "gpt-4", name: "GPT-4" },

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