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/copilot/agents/background-agents.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,11 +98,11 @@ To continue a local agent session in a background agent session:
98
98
99
99
* Select **Continue Chat In** and then select **Background**
100
100
101
-

101
+

102
102
103
103
* If you're using the [Plan agent](/docs/copilot/chat/chat-planning.md), select the **Start Implementation** dropdown and the select **Continue in Background** to run the implementation in a background agent session
104
104
105
-

105
+

106
106
107
107
* Type `@cli /delegate` in the chat input and send the message
108
108
@@ -126,7 +126,7 @@ To enable custom agents with background agents:
126
126
127
127
1. Select the custom agent from the Agents dropdown
128
128
129
-

129
+

130
130
131
131
1. Enter a prompt and notice that the custom agent is used to handle the task
132
132
@@ -145,15 +145,15 @@ To create a Copilot CLI background agent session with a worktree:
145
145
146
146
1. In the chat editor, select **Worktree** for the isolation mode.
147
147
148
-

148
+

149
149
150
150
To run a background agent on the current workspace without isolation, select **Workspace**.
151
151
152
152
1. Enter your prompt to create a new Git worktree and start the background agent session
153
153
154
154
1. In Source Control view, in the **Repositories** view, you can view the Git worktree
155
155
156
-

156
+

157
157
158
158
The Agents view also shows the worktree path for the background agent session.
159
159
@@ -170,13 +170,13 @@ Learn more about [using Git worktrees in VS Code source control](/docs/sourcecon
170
170
171
171
To view the conversation history of a background agent session, select the session in the Agents view. The chat editor opens, displaying the full conversation history and any code changes made by the agent. To open the agent session in a new VS Code window, right-click the session and select **Open in New Window**.
172
172
173
-

173
+

174
174
175
175
In the chat editor, you can provide additional instructions to the background agent or review the changes it made.
176
176
177
177
If you prefer to view the Copilot CLI session instead of the chat conversation in VS Code, right-click the session in the Agents view and select **Resume Agent Session in Terminal**. You can interact with the Copilot CLI directly in VS Code.
178
178
179
-

179
+

Copy file name to clipboardExpand all lines: docs/copilot/agents/cloud-agents.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ To continue a local agent session in a cloud agent session:
79
79
80
80
* If you're using the [Plan agent](/docs/copilot/chat/chat-planning.md), select the **Start Implementation** dropdown and the select **Continue in Cloud** to run the implementation in a cloud agent session
81
81
82
-

82
+

83
83
84
84
The cloud agent session starts automatically, carrying over the full chat history and context. You can monitor the cloud agent's progress in the Agents view.
85
85
@@ -95,7 +95,7 @@ In the chat editor, you can provide additional instructions to the cloud agent o
95
95
96
96
When you have installed the GitHub Pull Requests extension, you can view the pull requests created by Copilot coding agent from the Pull Requests view, under the category **Copilot On My Behalf**.
97
97
98
-

98
+

Copy file name to clipboardExpand all lines: docs/copilot/agents/overview.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ These autonomous agents have the following capabilities:
34
34
35
35
VS Code supports four main categories of agents, each designed for different use cases and levels of interaction:
36
36
37
-

37
+

38
38
39
39
<!--
40
40
```mermaid
@@ -126,7 +126,7 @@ Third party agents are background agents developed by external providers (for ex
126
126
127
127
The **Agents view** provides a centralized interface for tracking and managing your agent sessions, both local in VS Code and in other environments, such as Copilot coding agent, GitHub Copilot CLI, or OpenAI Codex.
128
128
129
-

129
+

130
130
131
131
To open the **Agents** view, run the **Agents: Focus on Agents View** command from the Command Palette (`kb(workbench.action.showCommands)`).
132
132
@@ -154,7 +154,7 @@ By default, the Agents view shows all sessions, except archived sessions. Use th
154
154
* Type: Local, Background, Cloud, or Codex
155
155
* Status: Completed, In Progress, Failed, or Archived
156
156
157
-

157
+

158
158
159
159
Select **Reset** to reset the filters to the default value.
160
160
@@ -201,7 +201,7 @@ For example, you might start with a local agent to brainstorm and plan a feature
201
201
202
202
You can delegate a local agent session from chat in VS Code by using the **Continue In** button in the chat input box, or use the `@cli`, `@cloud`, or `@codex` commands to pass a task to another agent type.
203
203
204
-

204
+

205
205
206
206
In a background agent session, you can delegate to a cloud agent by using the `/delegate` command in the chat input box.
207
207
@@ -211,15 +211,15 @@ When you delegate a session, VS Code creates a new agent session of the selected
211
211
212
212
Select an agent session in the Agents view to open a chat editor that displays the full conversation history, file changes, and status updates.
213
213
214
-

214
+

215
215
216
216
You can continue iterating with the agent via the chat interface in the session details view. For example, you can ask the agent to make further modifications, explain changes, run tests, and more.
217
217
218
218
## Review file changes
219
219
220
220
When an agent makes code modifications, you can review the changes directly from within the session details view. The view shows the list of changed files, along with diff statistics.
221
221
222
-

222
+

223
223
224
224
Select a changed file to view a diff editor that highlights the specific lines added, removed, or modified by the agent.
Copy file name to clipboardExpand all lines: docs/copilot/customization/language-models.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,7 @@ You can use locally hosted models in chat by using [bring your own model key](#b
205
205
206
206
* Use a built-in model provider that supports local models
207
207
* Install an extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/search?term=tag%3Alanguage-models&target=VSCode&category=All%20categories&sortBy=Relevance), for example, [AI Toolkit for VS Code with Foundry Local](https://aka.ms/AIToolkit)
208
-
* Configure a [custom OpenAI-compatible model](#use-an-openai-compatible-model)
208
+
* Configure a [custom OpenAI-compatible model](#_add-an-openaicompatible-model)
209
209
210
210
Currently, you cannot connect to a local model for inline suggestions. VS Code provides an extension API [`InlineCompletionItemProvider`](/api/references/vscode-api.md#InlineCompletionItemProvider) that enables extensions to contribute a custom completion provider. You can get started with our [Inline Completions sample](https://github.com/microsoft/vscode-extension-samples/blob/main/inline-completions).
0 commit comments