Uh oh!
There was an error while loading. Please reload this page.
.NET: Update GroupChat workflow builder to support name and description - #4334
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the GroupChatWorkflowBuilder by adding support for setting a name and description on workflows, improving the developer experience when using DevUI.
Changes:
- Added
WithName()andWithDescription()methods to GroupChatWorkflowBuilder - Updated the Build() method to apply name and description to the workflow when provided
- Added comprehensive unit tests covering various scenarios for name and description settings
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| GroupChatWorkflowBuilder.cs | Added private fields for name/description and new builder methods to set them; updated Build() to conditionally apply these values |
| AgentWorkflowBuilderTests.cs | Added three new unit tests to verify name/description behavior in different scenarios |
| Program.cs | Demonstrated usage by adding name and description to the round-robin translation workflow example |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
This PR updates the GroupChatWorkflowBuilder to support name and description on the workflow for better user experience using DevUI.
Fixes#1885
Contribution Checklist