You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET: DevUI - Agents created from workflows not available unless workflow is registered #1886
When using the DevUI from .NET: Add DevUI package for .NET (#1603), the agent created from the workflow is filtered out of the list of agents though, and since the workflow is not registered, I cannot access this workflow agent.
builder.Services.AddChatClient(chatClient);builder.AddAIAgent("writer","You write short stories about the specific topic.");builder.AddAIAgent("editor","You edit short stories to improve grammar and style.");builder.AddAIAgent("publisher",(sp,name)=>{varwriter=sp.GetRequiredKeyedService<AIAgent>("writer");vareditor=sp.GetRequiredKeyedService<AIAgent>("editor");vargroupChatBuilder=AgentWorkflowBuilder.CreateGroupChatBuilderWith(
agents =>newRoundRobinGroupChatManager(agents,(manager,messages,cancellationToken)=>ValueTask.FromResult(messages.LastOrDefault()?.AuthorName==editor.Name)){MaximumIterationCount=4});vargroupChatWorkflow=groupChatBuilder.AddParticipants(writer,editor).Build();returngroupChatWorkflow.AsAgent(name:name);});
Activity
jeffhandley commentedon Nov 8, 2025
Will be fixed by #2023