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>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-21 15:32:15 +00:00
committed by GitHub
Unverified
parent 289cafcf36
commit 70247bc21d
@@ -70,6 +70,8 @@ internal class AIAgentHostExecutor : ChatProtocolExecutor
protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder protocolBuilder)
{
return this.ConfigureUserInputHandling(base.ConfigureProtocol(protocolBuilder))
.YieldsOutput<AgentResponseUpdate>()
.YieldsOutput<AgentResponse>()
.ConfigureRoutes(routeBuilder => routeBuilder.AddHandler<ResetChatSignal>(this.ResetChat));
}