Repository navigation
Python: Minor updates to response-stream example and Foundry hosted agent doc - #8985
Merged
Eduard van Valkenburg (eavanvalkenburg) merged 12 commits intoOct 9, 2026
Conversation
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:15 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:15 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:21 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:21 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:21 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:22 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 18:23 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
Review effort: Lite
Findings: 3
Open (3)
The explanatory paragraph/bullets for “Pattern 3” now come after the fenced code block. If this… · New The PR title/description suggest a minor fix limited toresponse_stream.py, but this PR changes… · New The added bullet line appears to have lost its indentation compared to the prior value (|- ...).… · New
What changed in this PR
This PR primarily corrects grammar in Python samples/docstrings (notably “a Agent” → “an Agent”) and adjusts the markdown flow in the response_stream.py sample.
Changes:
- Fixes article/grammar issues across samples, packages, and tests (“a agent/Agent” → “an agent/Agent”).
- Reorders/rewraps the “Pattern 3: Combined Usage” explanation in
response_stream.py. - Minor docstring wording cleanup in multiple modules.
| File | Description |
|---|---|
| python/samples/03-workflows/agents/group_chat_workflow_as_agent.py | Grammar fix in sample description bullet. |
| python/samples/03-workflows/agents/custom_agent_executors.py | Grammar fix in Writer docstring bullet list. |
| python/samples/02-agents/response_stream.py | Reflows markdown around “Pattern 3” and “Chaining” explanations. |
| python/samples/02-agents/providers/anthropic/anthropic_skills.py | Comment grammar fix. |
| python/samples/02-agents/observability/workflow_observability.py | Docstring grammar fix. |
| python/packages/orchestrations/agent_framework_orchestrations/_magentic.py | Docstring grammar fix. |
| python/packages/declarative/agent_framework_declarative/_workflows/_factory.py | Docstring grammar fix. |
| python/packages/declarative/agent_framework_declarative/_loader.py | Docstring grammar fixes across multiple factory methods. |
| python/packages/core/agent_framework/_workflows/_typing_utils.py | Docstring grammar fix. |
| python/packages/core/agent_framework/_agents.py | Docstring grammar fix for Agent initializers. |
| python/packages/ag-ui/tests/ag_ui/test_tooling.py | Test helper docstring grammar fix. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:20 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:22 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:29 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:30 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:39 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:40 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:56 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 19:56 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 2, 2026 20:13 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 20:18 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 20:34 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 23:53 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 23:56 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 23:57 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 8, 2026 23:57 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 9, 2026 00:07 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
marked this pull request as ready for review
October 9, 2026 00:11
Darren Cohen (dargilco)
requested review from
SergeyMenshykh,
Tao Chen (TaoChenOSU),
Eduard van Valkenburg (eavanvalkenburg),
Giles Odigwe (giles17),
Jose Alvarez (jpalvarezl),
Evan Mattson (moonbox3),
Roger Barreto (rogerbarreto),
sophia-ramsey and
westey (westey-m)
as code owners
October 9, 2026 00:11
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 9, 2026 00:12 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 9, 2026 01:23 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 9, 2026 01:24 — with
GitHub Actions
Inactive
Eduard van Valkenburg (eavanvalkenburg)
approved these changes
Oct 9, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

python\samples\02-agents\response_stream.py\python\samples\04-hosting\foundry-hosted-agents\README.mdto get a sample to run following exact instructionsContribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.