This commit is contained in:
Jicheng Lu 2025-04-25 14:00:33 -05:00
parent 2e45a66edc
commit 13ed40b3cc

View file

@ -86,7 +86,7 @@ public class RoutingContext : IRoutingContext
if (!Guid.TryParse(agentId, out _))
{
var agentService = _services.GetRequiredService<IAgentService>();
var agents = agentService.GetAgentOptions([agentId]).Result;
var agents = agentService.GetAgentOptions([agentId], byName: true).Result;
if (agents.Count > 0)
{