Skip to content

Commit b7906b0

Browse files
committed
fix: Update for the new AgentRunResponseUpdate merge logic
AIAgent always sends out List<ChatMessage> now.
1 parent 2ef3f59 commit b7906b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ private static ChatClientAgent GetLanguageAgent(string targetLanguage, IChatClie
4141
/// <summary>
4242
/// Executor that aggregates the results from the concurrent agents.
4343
/// </summary>
44-
private sealed class ConcurrentAggregationExecutor() : Executor<List<ChatMessage>>("ConcurrentAggregationExecutor")
44+
private sealed class ConcurrentAggregationExecutor() :
45+
Executor<List<ChatMessage>>("ConcurrentAggregationExecutor"), IResettableExecutor
4546
{
4647
private readonly List<ChatMessage> _messages = [];
4748

0 commit comments

Comments
 (0)