GitHub Copilot is available across various surfaces: in IDEs, in the CLI, and as multiple agents and chat interfaces on the GitHub website.
A dedicated policy exists to enable or disable each supported feature or surface. Additionally, you can set various policies to customize or control the Copilot experience. However, not every policy applies to every available surface.
注意
The following table documents whether specific policies apply to different surfaces, but does not necessarily reflect whether the equivalent functionality is available. For example, Copilot云代理 can access the Internet, but the "Copilot can search the web" policy does not affect this capability.
| Policy name | IDEs | Copilot云代理 | Third-party agents | Copilot 命令行界面(CLI) | GitHub 中的Copilot 对话助手 | Copilot 代码评审 | Spark |
|---|---|---|---|---|---|---|---|
| Editor preview features | |||||||
| Copilot can search the web | |||||||
| Enable custom models | |||||||
| Suggestions matching public code | 1 | 1 | |||||
| MCP servers in Copilot | |||||||
| Restrict MCP access to registry servers | |||||||
| Content exclusion | |||||||
| Configure allowed models | |||||||
| Copilot内存 |
Footnotes
-
Only supported in annotate mode. See 应用程序卡:GitHub Copilot代理. ↩ ↩2