ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

VS Code GitHub Copilot BYOK utility 模型报错修复方案

2026/8/10 12:31:26 拓冰建站 浏览量
VS Code GitHub Copilot BYOK utility 模型报错修复方案 VS Code GitHub Copilot BYOK utility 模型报错修复问题现象在 VS Code 的 GitHub Copilot Chat 中使用 BYOK 模型 DeepSeek V4 Pro 发送消息时,出现以下错误:No utility model is configured for 'copilot-utility-small' while the selected main agent model is BYOK.该错误通常出现在 VS Code 更新后,主 Agent 模型已经切换为自定义模型,但 Copilot 后台使用的 utility 模型没有正确配置。背景:主模型与 utility 模型VS Code Copilot Chat 不只使用主 Agent 模型,还会在后台调用轻量模型完成以下任务:生成对话标题和摘要生成提交信息重命名建议Prompt 分类和意图识别部分 Inline Chat 辅助流程当主模型是 BYOK 模型时,GitHub Copilot 默认提供的 utility 模型可能不可用,因此需要手动配置:chat.utilityModel:通用 utility 任务使用的模型chat.utilitySmallModel:快速、轻量 utility 任务使用的模型排查过程1. 确认 VS Code 版本本机更新后的