You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/copilot-agent-mode.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,17 @@ The key difference from Copilot Chat is that agent mode can:
27
27
28
28
## Get started with agent mode
29
29
30
-
To get started with Copilot agent mode in Visual Studio, enable the feature in **Tools** > **Options** > **GitHub** > **Copilot** > **Enable agent mode in the chat pane**.
30
+
To get started with Copilot agent mode in Visual Studio, enable the feature in **Tools** > **Options** > **GitHub** > **Coplit** > **Copilot Chat** > **Enable agent mode in the chat pane**.
31
31
32
32
## Use agent mode
33
33
34
34
In agent mode, Copilot operates autonomously and determines the relevant context for your prompt.
35
35
36
36
Follow these steps to get started:
37
37
38
-
1.Enable agent mode by selecting **Enable agent mode in the chat pane** in **Tools** > **Options** > **GitHub** > **Copilot**.
38
+
1.Ensure agent mode is enabled by selecting **Enable agent mode in the chat pane** in **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Chat**.
39
39
40
-
<!--:::image type="content" source="media/vs-2022/copilot-agent/copilot-agent-setting-updated.png" alt-text="Screenshot that shows Copilot Agent Settings." lightbox="media/vs-2022/copilot-agent/copilot-agent-setting-updated.png":::-->
40
+
:::image type="content" source="media/vs-2022/copilot-agent/copilot-agent-setting-updated.png" alt-text="Screenshot that shows the enable agent mode setting in Options." lightbox="media/vs-2022/copilot-agent/copilot-agent-setting-updated.png":::
41
41
42
42
2. Open the Copilot Chat window, select **Ask** to expand the mode dropdown, and then select **Agent**.
43
43
@@ -127,7 +127,7 @@ To stop a build, select **Build** in the top toolbar, and then select **Cancel**
127
127
128
128
Take the following troubleshooting steps in the order specified:
129
129
- Make sure you're using Visual Studio 17.14 or later: check the version at **Help** > **About Visual Studio**. If you're not using version 17.14 or later, launch the Visual Studio Installer and update your build.
130
-
- Make sure you've selected the **Enable agent mode in the chat pane** setting in **Tools** > **Options** > **GitHub** > **Copilot**.
130
+
- Make sure you've selected the **Enable agent mode in the chat pane** setting in **Tools** > **Options** > **GitHub** > **Copilot Chat**.
131
131
- Try restarting Visual Studio.
132
132
133
133
#### When should I use Ask mode vs. Agent mode?
@@ -139,11 +139,12 @@ Take the following troubleshooting steps in the order specified:
139
139
#### What happened to Copilot Edits in Visual Studio?
140
140
141
141
- We perceive agent mode to be an evolution of Edits, with greater ability to iterate on errors, use tools, and automatically apply code changes.
142
-
- For the initial releases of Visual Studio 2022 version 17.14, Edits mode is still available if you uncheck the **Enable agent mode in the chat pane** setting in **Tools** > **Options** > **GitHub** > **Copilot**.
142
+
- For the initial releases of Visual Studio 2022 version 17.14, Edits mode is still available if you uncheck the **Enable agent mode in the chat pane** setting in **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Chat**.
143
143
144
144
#### As an administrator, how do I control use of agent mode for Visual Studio users?
145
145
146
146
Agent mode in Visual Studio is governed by the **Editor preview features** flag in the GitHub Copilot dashboard for administrators.
147
+
If the administrator turns off this setting, users under that subscription won’t be able to use agent mode in Visual Studio.
147
148
148
149
For more information, see [managing policies and features for copilot in your enterprise](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#editor-preview-features).
Copy file name to clipboardExpand all lines: docs/ide/mcp-servers.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Model Context Protocol (MCP) is an open standard that enables AI models to inter
16
16
17
17
## Prerequisites
18
18
+[Visual Studio 2022 version 17.14](/visualstudio/releases/2022/release-history) or later.
19
-
+ Set **Enable agent mode in the chat pane** in **Tools** > **Options** > **GitHub** > **Copilot**.
19
+
+ Set **Enable agent mode in the chat pane** in **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Chat**.
20
20
+[Sign in to Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot). <br/>
21
21
+ You can use [GitHub Copilot for Free](copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
22
22
@@ -150,7 +150,7 @@ When a tool is invoked, Copilot requests confirmation to run the tool. This is b
In the Chat pane, after a tool invocation, use the **Allow** dropdown options to automatically confirm the specific tool for the current session, solution, or all future invocations.
153
+
In the chat pane, after a tool invocation, use the **Allow** dropdown options to automatically confirm the specific tool for the current session, solution, or all future invocations.
154
154
155
155
You can reset tool confirmation selections in **Tools** > **Options** > **GitHub** > **Copilot** > **Tools**.
156
156
@@ -160,8 +160,10 @@ You can reset tool confirmation selections in **Tools** > **Options** > **GitHub
160
160
161
161
#### As an administrator, how do I control use of MCP servers in agent mode for Visual Studio users?
162
162
163
-
The **Editor preview features flag** in the GitHub Copilot dashboard lets administrators control access to agent mode and MCP usage in Visual Studio.
164
-
If the subscription administrator turns off this setting, users under that subscription won’t be able to use agent mode or connect to MCP servers in Visual Studio.
163
+
Agent mode and MCP usage in Visual Studio is governed by the **Editor preview features** flag in the GitHub Copilot dashboard for administrators.
164
+
If the administrator turns off this setting, users under that subscription won’t be able to use agent mode or connect to MCP servers in Visual Studio.
165
+
166
+
For more information, see [managing policies and features for copilot in your enterprise](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#editor-preview-features).
0 commit comments