Skip to main content

Changing the AI model for GitHub Copilot coding agent

GitHub Copilot Pro and GitHub Copilot Pro+ users can select the model used by Copilot 编码智能体.

谁可以使用此功能?

Copilot 编码智能体 可用于 GitHub Copilot Pro、GitHub Copilot Pro+、GitHub Copilot Business 和 GitHub Copilot Enterprise 计划。 该代理在 GitHub 上存储的所有仓库中均可用,但以下情况除外:由 托管用户帐户 拥有的仓库,以及已显式禁用该代理的仓库。
Sign up for Copilot

注意

For an overview of Copilot 编码智能体, see 关于 GitHub Copilot 编码智能体.

Introduction

GitHub Copilot Pro and GitHub Copilot Pro+ users can select the model used by Copilot 编码智能体.

注意

Model selection for Copilot 编码智能体 is only supported when starting a task from the agents tab or panel, assigning an issue to Copilot on GitHub.com and from the Raycast launcher. See 要求 GitHub Copilot 创建拉取请求.

You may find that different models perform better, or provide more useful responses, depending on the type of tasks you give Copilot.

Support for selecting a model is coming soon for GitHub Copilot Business and GitHub Copilot Enterprise users. Until then, for these users, Copilot 编码智能体 will use 克劳德十四行诗 4.5. GitHub reserves the right to change the model used at any time.

Supported models

The following options are currently available:

  • Auto
  • 克劳德十四行诗 4.5
  • GPT-5.1-Codex-Max
  • Claude Opus 4.5

注意

如果选择 “自动”,Copilot 自动模型选择 将基于可用性选择最佳模型,并帮助降低速率限制。 请参阅“关于 Copilot 自动模型选择”。