Skip to content

Fix formatting and SDK references in documentation#112

Draft
erjain wants to merge 9 commits intoMicrosoftLearning:mainfrom
erjain:main
Draft

Fix formatting and SDK references in documentation#112
erjain wants to merge 9 commits intoMicrosoftLearning:mainfrom
erjain:main

Conversation

@erjain
Copy link
Copy Markdown

@erjain erjain commented Mar 6, 2026

This pull request fixes a minor typo in several instructional files, improving clarity by correcting the phrasing in the "Tip" sections. The change removes the unnecessary word "for" from the description of the Microsoft Foundry SDK.

Documentation improvements:

  • Corrected the "Tip" in Instructions/02-build-ai-agent.md, Instructions/03-agent-custom-functions.md, and Instructions/Exercises/02-agent-custom-tools.md to read "based on the Microsoft Foundry SDK for Python" instead of "based on the for Microsoft Foundry SDK for Python". [1] [2] [3]
  • Fixed the "Tip" in Instructions/03b-build-multi-agent-solution.md to read "based on the Foundry SDK for Python" instead of "based on the for Foundry SDK for Python".# Module: 00

Lab/Demo: 00

Fixes # .

Changes proposed in this pull request:

Copilot AI review requested due to automatic review settings March 9, 2026 07:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a repeated grammatical typo ("based on the for Microsoft Foundry SDK for Python") in the Tip sections of several lab instruction files. It also corrects a Labfiles folder path reference in one exercise file.

Changes:

  • Removes the erroneous word "for" from the SDK Tip in four instruction files (02-build-ai-agent.md, 03-agent-custom-functions.md, 03b-build-multi-agent-solution.md, Exercises/02-agent-custom-tools.md)
  • Updates the Labfiles path in Exercises/02-agent-custom-tools.md from 02-agent-custom-tools to 03-agent-custom-tools (matching the actual directory)
  • Modifies a Python code comment in Exercises/02-agent-custom-tools.md to mention "input list"

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
Instructions/02-build-ai-agent.md Removes extraneous "for" from SDK Tip
Instructions/03-agent-custom-functions.md Removes extraneous "for" from SDK Tip
Instructions/03b-build-multi-agent-solution.md Removes extraneous "for" from SDK Tip
Instructions/Exercises/02-agent-custom-tools.md Removes extraneous "for" from SDK Tip; corrects Labfiles folder path; modifies a Python code comment

Note: Two additional files with the same "based on the for" typo were found outside the PR scope — Instructions/06-multi-remote-agents-with-a2a.md:11 and Instructions/Exercises/09-multi-remote-agents-with-a2a.md:13 — and should be addressed in a follow-up.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


```python
# Create a list to hold function call outputs that will be sent back as input to the agent
# Create a input list to hold function call outputs that will be sent back as input to the agent
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code comment in the Python snippet was changed from # Create a list to hold function call outputs that will be sent back as input to the agent to # Create a input list to hold function call outputs that will be sent back as input to the agent. This introduces two problems:

  1. "a input" is grammatically incorrect — it should be "an input".
  2. This comment must exactly match the comment in the actual starter code file (Labfiles/03-agent-custom-tools/Python/agent.py, line 35), which reads # Create a list to hold function call outputs that will be sent back as input to the agent. Students are instructed (line 313) to "Find the comment" in the starter code to know where to add the provided snippet. If the comment in the exercise instructions doesn't match the actual file, students won't be able to find it.

The comment should be reverted to the original: # Create a list to hold function call outputs that will be sent back as input to the agent.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot is right, it needs to exactly match the files

@erjain
Copy link
Copy Markdown
Author

erjain commented Mar 9, 2026

Fixes #114 via f8c7690

@GraemeMalcolm GraemeMalcolm marked this pull request as draft March 19, 2026 18:30
Copy link
Copy Markdown
Collaborator

@ivorb ivorb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not opposed to some of these fixes, but I can't merge this as is. Please fix it if you'd like it merged, otherwise I'll make some of the typo fixes independently

1. Create a new folder and choose **Select as Repository Destination**, then open the cloned repository when prompted.

1. In the Explorer view, navigate to the **Labfiles/02-agent-custom-tools/Python** folder to find the starter code for this exercise.
1. In the Explorer view, navigate to the **Labfiles/03-agent-custom-tools/Python** folder to find the starter code for this exercise.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is inaccurate, we have two versions of the labfiles for the old and new versions - the number needs to match the prefix of the instruction.


```python
# Create a list to hold function call outputs that will be sent back as input to the agent
# Create a input list to hold function call outputs that will be sent back as input to the agent
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot is right, it needs to exactly match the files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants