Skip to content

Commit baf7c03

Browse files
committed
Code snippet updates
1 parent bdfddfa commit baf7c03

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

docs/lab-instructions.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,6 @@ Now, you'll use the Azure Developer CLI (azd) to *start* provisioning all the ne
150150

151151
Follow the prompts to authenticate in your browser. Close the browser tab after successful login and return to VS Code.
152152

153-
>[!alert] You may see warnings that your version of azd is out of date. You can run the following command to update azd. The process only takes a minute or two.
154-
>
155-
>winget upgrade Microsoft.Azd
156-
>
157-
> [!note] If successful, in VSCode Terminal, you should see *Logged in to Azure as **@lab.CloudPortalCredential(User1).Username***
158-
159-
160-
161153
3. [] **Set up the azd Environment:**
162154

163155
An azd environment stores configuration details like subscription ID and location. Create a new environment for this lab (this will be unique to each lab environment):
@@ -386,7 +378,7 @@ This application uses the **Microsoft Agent Framework** with **agent-framework-a
386378
"""Orchestration that chains multiple agent calls."""
387379

388380
# Get the DeepWiki agent wrapper for orchestration use
389-
deep_wiki = get_agent(context, "DeepWikiAgent")
381+
deep_wiki = app.get_agent(context, "DeepWikiAgent")
390382

391383
# First agent call: Generate initial wiki documentation
392384
initial_wiki = yield deep_wiki.run(
@@ -399,7 +391,7 @@ This application uses the **Microsoft Agent Framework** with **agent-framework-a
399391
)
400392

401393
# Get the CodeStyle agent for generating complementary style guide
402-
code_style = get_agent(context, "CodeStyleAgent")
394+
code_style = app.get_agent(context, "CodeStyleAgent")
403395

404396
# Third agent call: Generate style guide that complements the wiki
405397
style_guide = yield code_style.run(
@@ -500,7 +492,7 @@ Let's first install the Python packages required by the Function App:
500492

501493
4. [] Install the required Python packages:
502494

503-
`uv pip install -r requirements.txt --prerelease=allow`
495+
`uv pip install -r requirements.txt`
504496

505497
> [!note]
506498
> We'll start the Functions host after verifying that all required settings are available from the provisioning process.
@@ -1019,7 +1011,7 @@ You've explored how Microsoft Agent Framework enables sophisticated AI agent cap
10191011
### 5. Durable Functions Orchestration
10201012
You've learned how Durable Functions orchestrates complex, stateful workflows:
10211013
- Creating orchestrations that coordinate multiple AI agents in sequence
1022-
- Using `context.get_agent()` to access agent wrappers within orchestrations
1014+
- Using `app.get_agent()` to access agent wrappers within orchestrations
10231015
- Managing conversation threads across multiple agent calls to maintain context
10241016
- Monitoring orchestration state and progress through the Durable Task Scheduler dashboard
10251017

0 commit comments

Comments
 (0)