Gemini 2.5 Pro 和 Gemini 3 Flash 已弃用
英文标题:Gemini 2.5 Pro and Gemini 3 Flash deprecated
GitHub 自 2026 年 7 月 31 日起,在所有 GitHub Copilot 体验中弃用 Gemini 2.5 Pro 和 Gemini 3 Flash。官方建议分别迁移至 Gemini 3.1 Pro(预览版)和 Gemini 3.6 Flash。开发者需要更新工作流与集成;Copilot Enterprise 管理员可能还需通过模型策略启用替代模型访问权限。已弃用模型无需手动移除,企业客户如有疑问可联系其客户经理。
131.4 KB
中文
自即日(2026 年 7 月 31 日)起,我们已在所有 GitHub Copilot 体验中弃用以下模型,包括 Copilot Chat、内联编辑、提问和 Agent 模式以及代码补全。
| 模型 | 弃用日期 | 建议替代方案 |
|---|---|---|
| Gemini 2.5 Pro | 2026-07-31 | Gemini 3.1 Pro(预览版) |
| Gemini 3 Flash | 2026-07-31 | Gemini 3.6 Flash |
请更新您的工作流和集成,以使用仍受支持的模型。Copilot Enterprise 管理员可能需要通过 Copilot 设置中的模型策略启用对替代模型的访问权限。作为管理员,您可以通过检查个人 Copilot 设置,并确认已为特定模型启用相关策略来验证其可用性。启用后,您将在 VS Code 和 github.com 的 Copilot Chat 模型选择器中看到该模型。无需采取任何操作来移除已弃用的模型。
如有问题或疑虑,我们建议 GitHub Enterprise 客户联系其客户经理,以获得进一步协助。
如需了解 Copilot 中可用的模型,请参阅我们的模型文档,并立即开始使用 Copilot。
加入 GitHub Community,分享您的反馈。
English / 原文
As of today, July 31, 2026, we have deprecated the following models across all GitHub Copilot experiences (including Copilot Chat, inline edits, ask and agent modes, and code completions).
| Model | Deprecation date | Suggested alternative |
|---|---|---|
| Gemini 2.5 Pro | 2026-07-31 | Gemini 3.1 Pro (Preview) |
| Gemini 3 Flash | 2026-07-31 | Gemini 3.6 Flash |
Please update your workflows and integrations to use supported models. Copilot Enterprise administrators may need to enable access to alternative models through their model policies in Copilot settings. As an administrator, you can verify availability by checking your individual Copilot settings and confirming that the policy is enabled for the specific model. Once enabled, you’ll see the model in the Copilot Chat model selector in VS Code and on github.com. No action is required to remove the deprecated models.
GitHub Enterprise customers with questions or concerns are encouraged to reach out to their account manager for further assistance.
To learn more about the models available in Copilot, see our documentation on models and get started with Copilot today.
Join the GitHub Community to share your feedback.