From 70247bc21d2f85b1d8488f0a133b85cd85684a88 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 15:32:15 +0000 Subject: [PATCH] Declare AgentResponse/AgentResponseUpdate yields on AIAgentHostExecutor Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/32db50d8-6e9b-47a3-a0e8-2804873f6311 Co-authored-by: lokitoth <6936551+lokitoth@users.noreply.github.com> --- .../Specialized/AIAgentHostExecutor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs b/dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs index cd20fc4336..a49801cb37 100644 --- a/dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs +++ b/dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs @@ -70,6 +70,8 @@ internal class AIAgentHostExecutor : ChatProtocolExecutor protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder protocolBuilder) { return this.ConfigureUserInputHandling(base.ConfigureProtocol(protocolBuilder)) + .YieldsOutput() + .YieldsOutput() .ConfigureRoutes(routeBuilder => routeBuilder.AddHandler(this.ResetChat)); }