From b4dda5e63a5997faa8aa76e8162d8ddabd2a0c81 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Fri, 16 May 2025 21:16:49 -0400 Subject: [PATCH 1/2] Update to Microsoft.Extensions.AI stable release --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 01fc6c90..e5f4fcd6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -60,7 +60,7 @@ - + From 968bac623d4ae5144bd56638345b50691a13481c Mon Sep 17 00:00:00 2001 From: Haiping Date: Mon, 19 May 2025 09:48:16 -0500 Subject: [PATCH 2/2] Update RoutingService.InstructLoop.cs hotfix GetNextStepPrompt error(can't find naive reasoner template) --- .../BotSharp.Core/Routing/RoutingService.InstructLoop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InstructLoop.cs b/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InstructLoop.cs index 128debad..757919cd 100644 --- a/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InstructLoop.cs +++ b/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InstructLoop.cs @@ -15,7 +15,7 @@ public partial class RoutingService var convService = _services.GetRequiredService(); var storage = _services.GetRequiredService(); - _router = await agentService.GetAgent(message.CurrentAgentId); + _router = agent; var states = _services.GetRequiredService(); var executor = _services.GetRequiredService();