Conversation
…lows doc - Part 4: Replace BuildHandoff() (doesn't exist) with CreateHandoffBuilderWith() - Part 6: Replace WorkflowBuilder/AddAgent/AddEdge/AddConditionalEdge (none exist) with correct CreateHandoffBuilderWith pattern for conditional routing; rename section to 'Conditional Handoff Workflows' Co-authored-by: elbruno <3533489+elbruno@users.noreply.github.com> Agent-Logs-Url: https://github.com/microsoft/Generative-AI-for-beginners-dotnet/sessions/cd369b57-b002-4040-8151-4016e796b18f
Copilot
AI
changed the title
[WIP] Fix references to workflow builder API in tutorials
Fix non-existent workflow builder API references in multi-agent workflows docs
Mar 24, 2026
Collaborator
|
@copilot check if any other workflow sample or docs needs to be updated, and apply the changes |
Contributor
Author
Checked all other docs and samples in the repo for incorrect workflow API usage ( |
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.
Two sections in
04-AgentsWithMAF/03-multi-agent-workflows.mdreference APIs that don't exist inmicrosoft.agents.ai.workflows. The actualAgentWorkflowBuildersurface is:BuildSequential,BuildConcurrent,CreateHandoffBuilderWith,CreateGroupChatBuilderWith.Changes
AgentWorkflowBuilder.BuildHandoff()(doesn't exist) withCreateHandoffBuilderWith().WithHandoffs().Build()WorkflowBuilder/AddAgent/AddEdge/AddConditionalEdgeAPIs. Replace with the actualCreateHandoffBuilderWithpattern—conditional routing is expressed via agent instructions;WithHandoff()constrains the allowed paths.📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.