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: articles/ai-foundry/how-to/develop/vs-code-agents.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
7
7
content_well_notification:
8
8
- AI-contribution
9
9
ms.topic: how-to
10
-
ms.date: 04/23/2025
10
+
ms.date: 04/29/2025
11
11
ms.reviewer: erichen
12
12
ms.author: johalexander
13
13
author: ms-johnalex
@@ -177,25 +177,27 @@ Selecting the deployed agent opens the **Agent Preferences** page in a view only
177
177
178
178
Open the **Agents Playground** using the following steps:
179
179
180
-
1. Right-click on your deployed agent and select the **Open Playground** option This action starts a thread with your agent and let you send messages.
180
+
1. Right-click on your deployed agent and select the **Open Playground** option This action starts a thread with your agent and let you send messages.
181
+
182
+
1. Alternatively, select the **Agent Playground** link in the **Tools** subsection, and select your agent from the top-center list.
181
183
182
184
1. The **Playground** page is displayed.
183
185
184
186
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/agent-display-playground.png" alt-text="Screenshot of the **Agents Playground** page in VS Code." lightbox="../../media/how-to/get-started-projects-vs-code/agent-display-playground.png":::
185
187
186
-
1. Type your prompt and see the outputs.
188
+
1. Type your prompt and see the outputs. The **Grounding with Bing search** tool is used to search the web for information. The agent uses the model and tools you configured in the agent designer. The source of the information is displayed in the **Agent Annotations** section, highlighted in the following image.
189
+
190
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/agent-playground-run.png" alt-text="Screenshot of the **Agents Playground** page with agent annotations highlighted in VS Code." lightbox="../../media/how-to/get-started-projects-vs-code/agent-playground-run.png":::
187
191
188
192
## Explore Threads
189
193
190
194
The **Threads** subsection displays the threads created during a run with your agent. In the Azure Resources Extension view, select the **caret** icon in front of the **Threads** subsection to view the list of threads.
191
195
192
196
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/thread-list.png" alt-text="Screenshot of the threads in the Threads subsection." lightbox="../../media/how-to/get-started-projects-vs-code/thread-list.png":::
193
197
194
-
195
-
196
198
### View thread details
197
199
198
-
Select a thread to view its details. The **Thread Details** page is displayed.
200
+
Select a thread to see the **Thread Details** page.
199
201
200
202
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/thread-view.png" alt-text="Screenshot of the thread details view." lightbox="../../media/how-to/get-started-projects-vs-code/thread-view.png":::
201
203
@@ -205,6 +207,11 @@ Select a thread to view its details. The **Thread Details** page is displayed.
205
207
206
208
- A **Run** is a single execution of an agent. Each run can have multiple threads, and each thread can have multiple messages. The agent uses its configuration and Thread’s Messages to perform tasks by calling models and tools. As part of a Run, the agent appends Messages to the Thread.
207
209
210
+
### View run details
211
+
212
+
Select the **View run info** button in the **Thread Details** page to see the run information in a JSON file.
213
+
214
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/run-file.png" alt-text="Screenshot of the run details .json file." lightbox="../../media/how-to/get-started-projects-vs-code/run-file.png":::
0 commit comments