GitHub Copilot for VS 9月更新:BYOM破坏性变更需重配模型
GitHub Copilot in Visual Studio — September update
BYOM 发生破坏性变更,旧模式已失效。使用 BYOM 的用户升级后必须重新配置模型并切换至新 Agent 模式,否则将失去自定义模型能力,建议尽快完成迁移。
September 2026 brought deeper visibility into your work: explore pull requests without leaving chat, bring the AI model your team trusts, and fix vulnerable packages the moment Visual Studio flags them.
2026 年 9 月让你的工作成果更加可见:无需离开聊天即可浏览拉取请求,引入团队信赖的 AI 模型,并在 Visual Studio 标记出存在漏洞的软件包时立即修复它们。
Highlights
亮点
Here’s what’s new with GitHub Copilot in Visual Studio 2026. Check the Insiders channel for the latest:
以下是 Visual Studio 2026 中 GitHub Copilot 的新增功能。请查看 Insiders 频道以获取最新版本:
- Explore pull requests with the Git agent: The Git agent can now explore a pull request for you. Open GitHub Copilot Chat, select the Git agent, and attach a pull request as context from the Git Repository window to get a summary with navigable links to the underlying comments and files. This functionality requires connecting your Git provider’s MCP servers; GitHub and Azure DevOps are both supported.
- Updates to Bring Your Own Model (BYOM): BYOM is available in preview and lets you use the models your team prefers, through GitHub Copilot or your own model deployments, whether or not you’re signed in to GitHub. This feature is on by default across the Community, Professional, and Enterprise editions. Breaking change: BYOM now requires the new Agent (Preview), built on the GitHub Copilot SDK-powered harness. The previous Ask and Agent modes no longer support BYOM, and you’ll need to re-add previously configured Ollama models after updating. Supported providers include Microsoft Foundry, OpenAI, Anthropic, and Ollama.
- Fix NuGet Vulnerabilities from the Error List: NuGet Audit warnings in the Error List now include a fixer action that opens GitHub Copilot Chat in agent mode and asks Copilot to fix the vulnerable packages using the NuGet MCP server. This functionality requires signing in to GitHub Copilot and enabling the NuGet MCP server from the Copilot Chat tools menu.
- 使用 Git 代理探索拉取请求:Git 代理现在可以为你探索拉取请求。打开 GitHub Copilot Chat,选择 Git 代理,并从 Git Repository 窗口附加一个拉取请求作为上下文,以获取包含可导航链接的摘要,这些链接指向底层的注释和文件。此功能需要连接你的 Git 提供者的 MCP 服务器;GitHub 和 Azure DevOps 均受支持。
- 自带模型(BYOM)更新:BYOM 目前处于预览阶段,允许你通过 GitHub Copilot 或自己的模型部署来使用团队偏好的模型,无论你是否登录了 GitHub。该功能在社区版、专业版和企业版中默认启用。重大变更:BYOM 现在需要基于 GitHub Copilot SDK 驱动的新 Agent(预览版)。之前的 Ask 和 Agent 模式不再支持 BYOM,更新后你需要重新添加之前配置的 Ollama 模型。支持的提供商包括 Microsoft Foundry、OpenAI、Anthropic 和 Ollama。
- 从错误列表修复 NuGet 漏洞:错误列表中的 NuGet Audit 警告现在包含一个修复操作,该操作会以代理模式打开 GitHub Copilot Chat,并请求 Copilot 使用 NuGet MCP 服务器修复存在漏洞的软件包。此功能需要登录 GitHub Copilot 并从 Copilot Chat 工具菜单启用 NuGet MCP 服务器。
This update is available to users on all GitHub Copilot plans, including Copilot Free, Student, Pro, Pro+, Max, Business, and Enterprise.
此更新适用于所有 GitHub Copilot 计划的用户,包括 Copilot Free、Student、Pro、Pro+、Max、Business 和 Enterprise。
Download Visual Studio 2026 to experience all the new Copilot features today. To learn more about what’s new, check out the Visual Studio blog and release notes.
立即下载 Visual Studio 2026,体验所有新的 Copilot 功能。要了解更多信息,请查看 Visual Studio 博客和发行说明。
What’s next for Copilot in Visual Studio
Visual Studio 中 Copilot 的未来展望
Stay up to date on the latest Copilot features by following the Visual Studio blog, where you’ll find roadmap updates and opportunities to share feedback.
通过关注 Visual Studio 博客,随时了解最新的 Copilot 功能,你可以在那里找到路线图更新以及分享反馈的机会。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力