Merge pull request #178 from hchen2020/master

Fix typo.
This commit is contained in:
Haiping 2023-10-18 12:00:23 -05:00 committed by GitHub
commit 5009b97327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ public partial class RoutingService
}
// It should be Route to agent, but it is used as Response to user.
if (string.IsNullOrEmpty(args.AgentName) &&
if (!string.IsNullOrEmpty(args.AgentName) &&
agents.Select(x => x.Name).Contains(args.AgentName) &&
args.Function != "route_to_agent")
{