Fix typo.
This commit is contained in:
parent
09ea77b73a
commit
f58decde0d
|
|
@ -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")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue