Skip to content

Support model selection when requesting Copilot code review from gh pr #12921

@eevmanu

Description

@eevmanu

Describe the feature or problem you’d like to solve

GitHub CLI now supports requesting Copilot code review from the terminal, which appears to address:

Examples documented in the changelog include:

  • gh pr edit --add-reviewer @copilot
  • gh pr create --reviewer @copilot

Related references:

However, I could not find any way to choose which model Copilot should use for the review.

I checked the current implementation around:

and related PRs:

From what I can tell, the CLI supports @copilot as a reviewer identity, but there does not seem to be any parameter or plumbing for passing a model name along with the review request.

Proposed solution

If the backend/product supports model selection for Copilot code review, it would be helpful for gh to expose it.

Possible UX ideas:

gh pr edit 123 --add-reviewer @copilot --copilot-model gpt-5
gh pr create --reviewer @copilot --copilot-model gpt-5

or possibly:

gh pr edit 123 --add-reviewer @copilot:gpt-5
gh pr create --reviewer @copilot:gpt-5

Related issue: #10598

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions