From a7fbc8fdf97a4b3f081e1ab1ab633e51fd26983b Mon Sep 17 00:00:00 2001 From: Haiping Chen <101423@smsassist.com> Date: Thu, 29 Aug 2024 17:32:39 -0500 Subject: [PATCH] AgentExecuting --- .../TwoStaging/TwoStageTaskPlanner.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.Planner/TwoStaging/TwoStageTaskPlanner.cs b/src/Plugins/BotSharp.Plugin.Planner/TwoStaging/TwoStageTaskPlanner.cs index 5f49d23bf..be627c752 100644 --- a/src/Plugins/BotSharp.Plugin.Planner/TwoStaging/TwoStageTaskPlanner.cs +++ b/src/Plugins/BotSharp.Plugin.Planner/TwoStaging/TwoStageTaskPlanner.cs @@ -128,11 +128,6 @@ public bool AfterHandleContext(List dialogs, List AgentExecuting(Agent router, FunctionCallFromLlm inst, RoleDialogModel message, List dialogs) { - dialogs.Add(new RoleDialogModel(AgentRole.User, inst.Response) - { - MessageId = message.MessageId, - CurrentAgentId = router.Id - }); return true; }