From 13ed40b3ccd8a977595fae87ab3498e343d28a33 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Fri, 25 Apr 2025 14:00:33 -0500 Subject: [PATCH] revert --- src/Infrastructure/BotSharp.Core/Routing/RoutingContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core/Routing/RoutingContext.cs b/src/Infrastructure/BotSharp.Core/Routing/RoutingContext.cs index 33d90d66..4cba2e2d 100644 --- a/src/Infrastructure/BotSharp.Core/Routing/RoutingContext.cs +++ b/src/Infrastructure/BotSharp.Core/Routing/RoutingContext.cs @@ -86,7 +86,7 @@ public class RoutingContext : IRoutingContext if (!Guid.TryParse(agentId, out _)) { var agentService = _services.GetRequiredService(); - var agents = agentService.GetAgentOptions([agentId]).Result; + var agents = agentService.GetAgentOptions([agentId], byName: true).Result; if (agents.Count > 0) {