Copilot 编码代理支持代码引用
Source: GitHub Changelog
Copilot coding agent supports code referencing
Copilot coding agent 是一个异步、自治的后台代理,现在可以与 Copilot code referencing 配合使用。
如果代理生成的代码与公共 GitHub 仓库中的代码相匹配,匹配的代码将在代理会话日志中高亮显示,并附带指向原始来源的链接,方便您查看代码的来源以及适用的许可证。
Copilot coding agent 不 支持 “Suggestions matching public code” 策略的 Block 模式。当策略设置为 Block 时,匹配公共代码的建议不会被阻止;相反,它们会在会话日志中被高亮显示。
更多详情,请参阅 GitHub 文档文章 “Finding public code that matches GitHub Copilot suggestions”。