Repository navigation
Python: Select all other participants in the group chat debate sample - #10085
Draft
Naveen Chatlapalli (1aifanatic) wants to merge 1 commit into
Draft
Naveen Chatlapalli (1aifanatic) wants to merge 1 commit into
Naveen Chatlapalli (1aifanatic) wants to merge 1 commit into
Conversation
…group chat debate sample Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Naveen Chatlapalli (1aifanatic)
temporarily deployed
to
github-app-auth
November 4, 2026 05:42 — with
GitHub Actions
Inactive
Naveen Chatlapalli (1aifanatic)
temporarily deployed
to
github-app-auth
November 4, 2026 05:42 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the change to the debate sample’s intermediate-output selector.
No open issues 🎉
What changed in this PR
Fixes the philosophical debate sample’s group-chat configuration so the workflow builds and streams participant turns as intended.
Changes:
- Replaces
intermediate_output_from=["all"]with the documented"all_other"selector, avoiding the unknown-participant error.
| File | Description |
|---|---|
python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py |
Corrects the selector used to emit participant responses as intermediate output. |
Review effort: Balanced
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.
Motivation & Context
samples/03-workflows/orchestrations/group_chat_philosophical_debate.pypassesintermediate_output_from=["all"]. In a list, each entry is a participant name or instance, sobuild()fails:The sample's comment says to mark every participant's responses as intermediate output. The
GroupChatBuilderdocstring documents the string"all_other"for that.Description & Review Guide
intermediate_output_from="all_other".I ran the sample with the Foundry client replaced by a stub whose moderator returns valid
AgentOrchestrationOutputJSON. The workflow builds, streams the participants' turns and ends on the moderator's final message. Onmainit raises theValueErrorabove atbuild(). Ruff and the repo's sample pyright config are clean.Related Issue
N/A - trivial change: a sample argument is corrected to the documented value.
AI Assistance
AI assistance details: Claude Code helped find the build failure by running the sample against a stub client, make the change, verify the run, and draft this description.
Contribution 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.🤖 Generated with Claude Code