Skip to content

Commit 0de8ae4

Browse files
committed
updates about agent mode using premium resources
1 parent a4bd16c commit 0de8ae4

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Instructions/Labs/LAB_AK_01_examine_settings_interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ The Chat view has three modes: **Ask**, **Edit**, and **Agent**. The Ask mode is
386386

387387
In addition to the edit controls displayed the editor tab, the Chat view displays a **Keep** button that you can use to apply all edits and an **Undo** button to cancel the edits, and an abbreviated description of the suggested update.
388388

389-
1. In the Chat view, select **Keep** to apply the suggested code updates, and then select **Done** to end the Chat session.
389+
1. In the Chat view, select **Keep** to apply the suggested code updates.
390390

391391
> **NOTE**: The Chat view's Agent mode is designed for running tasks using an autonomous agent. To conserve GitHub Copilot resources, the Agent mode isn't used in this exercise.
392392

Instructions/Labs/LAB_AK_04_develop_unit_tests_xunit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ Use the following steps to complete this section of the exercise:
300300
301301
1. In the Chat view, select the **Set Mode** button, and then select **Agent**.
302302
303+
> **IMPORTANT**: When you use the Chat view in agent mode, GitHub Copilot may make multiple premium requests to complete a single task. Premium requests can be used by user-initiated prompts and follow-up actions Copilot takes on your behalf. The total number of premium requests used is based on the complexity of the task, the number of steps involved, and the model selected.
304+
303305
1. To start an automated task that creates a test class for the JsonLoanRepository.GetLoan method, enter the following prompt:
304306
305307
```plaintext

Instructions/Labs/LAB_AK_05_refactor_improve_existing_code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you're using a hosted lab environment for this exercise:
4040

4141
You're a developer working in the IT department of your local community. The backend systems that support the public library were lost in a fire. Your team needs to develop a temporary solution to help the library staff manage their operations until the system can be replaced. Your team chose GitHub Copilot to accelerate the development process.
4242
43-
You handed off an initial version of the library application for review. The review team identified opportunities to improve code quality, performance, readability, maintainability, and security.
43+
You handed off an initial version of the library application for review. The review team identified opportunities to improve code quality, performance, readability, maintainability, and security.
4444
4545
The following updates are assigned to you:
4646
@@ -963,6 +963,8 @@ Use the following steps to complete this section of the exercise:
963963
964964
Agent mode uses a combination of code editing and tool invocation to accomplish the task you specified. As it processes your request, it monitors the outcome of edits and tools, and iterates to resolve any issues that arise. If the agent is unable to resolve an issue, it will ask you to intervene. For example, if the agent uses several iterations working to resolve the same issue, it will pause the process and ask you to provide additional context to clarify your request or cancel the process.
965965
966+
> **IMPORTANT**: When you use the Chat view in agent mode, GitHub Copilot may make multiple premium requests to complete a single task. Premium requests can be used by user-initiated prompts and follow-up actions Copilot takes on your behalf. The total number of premium requests used is based on the complexity of the task, the number of steps involved, and the model selected.
967+
966968
1. Take a minute to consider the task that you need to assign to the agent.
967969
968970
The task is to refactor the **JsonPatronRepository** class. The goal is to replace the foreach loops with LINQ queries that produce the same result as the original foreach code.
@@ -1036,8 +1038,6 @@ Use the following steps to complete this section of the exercise:
10361038
10371039
1. To accept all updates, select **Keep**.
10381040
1039-
1. To end the Chat session, select **Done**.
1040-
10411041
### Build and run the application
10421042
10431043
Now that you've refactored the code, it's time to build and run the application to ensure that everything is working correctly. You'll also test the application to ensure that the refactored code is functioning as expected.

0 commit comments

Comments
 (0)