Skip to content

Commit 02a202e

Browse files
authored
Merge pull request #226 from microsoft/crazy4pi314-workshop-review
Revise Copilot usage instructions in documentation
2 parents 6db0101 + 892a969 commit 02a202e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Using-GitHub-Copilot-Coding-Agent/1-Assigning-and-Tracking.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ This is distinct from **agent mode in your IDE**, which edits your local files i
4040
3. On the issue page, click **Assignees** and select **Copilot** from the assignee list.
4141

4242
> Copilot will begin working immediately. You'll see the issue label update to indicate an agent session is in progress.
43+
<img width="500" alt="Assigment panel for issue showing Copilot is selected and the name has an AI badge next to it." src="https://github.com/user-attachments/assets/dec2f4af-c606-4350-9911-ee109c64cf36" />
4344

4445
4. Observe that Copilot creates a new branch named `copilot/<issue-number>-<slug>` and begins opening commits.
4546

@@ -61,8 +62,10 @@ You can also invoke the coding agent on an *existing pull request* by mentioning
6162

6263
The **agents panel** is available on every page on GitHub.com.
6364

64-
1. Click the agent icon (looks like a hexagon/robot) in the top navigation bar on any GitHub page.
65-
2. Click **New task**.
65+
<img width="800" alt="Screenshot of GitHub.com header hovering over the Copilot Icon for the agents panel" src="https://github.com/user-attachments/assets/4040c625-2d6e-4195-bf16-21cc62f37460" />
66+
67+
1. Click the agent icon (looks like a robot) in the top navigation bar on any GitHub page.
68+
2. Click the **New task** button below the input box (or select it in the bottom right corner of the input box).
6669
3. Select your repository and describe the work you want done.
6770
4. Submit the task. Copilot will open a new pull request with the changes.
6871

@@ -102,6 +105,9 @@ Session logs show Copilot's internal reasoning and tool usage. You can see:
102105

103106
> **Tip:** Session logs are also accessible from Visual Studio Code via the GitHub Pull Requests extension. Click on a pull request in the Copilot sessions list, then click **View Session**.
104107
108+
<img width="800" alt="Screenshot of a Copilot session log" src="https://github.com/user-attachments/assets/e6796f87-f326-462b-922f-918896b40f52" />
109+
110+
105111
### Exercise 2A: Steer a Running Session
106112

107113
While Copilot is working, you can give it additional guidance from the agents tab:
@@ -124,9 +130,11 @@ If Copilot is going in a wrong direction or you have changed your mind about a t
124130

125131
1. Open the session log viewer from the agents tab.
126132
2. Click **Stop session**.
127-
133+
128134
The agent stops immediately. The branch and any commits made so far are preserved, so you can inspect them.
129135

136+
<img width="800" alt="Start of a Copilot log with stop button in blue header bar of the response." src="https://github.com/user-attachments/assets/3f36130c-568b-48fd-980e-baf2e247b483" />
137+
130138
### Tracking Across Other Surfaces
131139

132140
| Surface | How to access |

0 commit comments

Comments
 (0)