fixup: merge issue

This commit is contained in:
Jacob Alber
2026-05-28 16:10:39 -04:00
Unverified
parent 432505b560
commit 25f110901f
2 changed files with 3 additions and 2 deletions
@@ -627,6 +627,7 @@ public class HandoffWorkflowBuilderCore<TBuilder> : OrchestrationBuilderBase<TBu
agentMap[agent] = executors[agent.Id];
}
this.ApplyMetadata(builder);
this.ApplyOutputDesignations(builder, agentMap, "handoff", () =>
{
// Defaults (matches Python's Handoff orchestration):
@@ -268,7 +268,7 @@ public class GroupChatWorkflowBuilderTests
.Build();
const string UserInput = "hello";
(_, List<ChatMessage>? result, _, _) = await AgentWorkflowBuilderTests.RunWorkflowAsync(workflow, [new ChatMessage(ChatRole.User, UserInput)]);
(_, List<ChatMessage>? result, _, _) = await OrchestrationTestHelpers.RunWorkflowAsync(workflow, [new ChatMessage(ChatRole.User, UserInput)]);
Assert.NotNull(result);
Assert.Equal(5, result.Count); // initial user input + 4 agent turns
@@ -314,7 +314,7 @@ public class GroupChatWorkflowBuilderTests
.Build();
const string UserInput = "hello";
await AgentWorkflowBuilderTests.RunWorkflowAsync(workflow, [new ChatMessage(ChatRole.User, UserInput)]);
await OrchestrationTestHelpers.RunWorkflowAsync(workflow, [new ChatMessage(ChatRole.User, UserInput)]);
// Turn 1: agentA's buffer contains only the initial broadcast, which UpdateHistoryAsync
// prefixed.