mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
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:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user