Emit OnRoutingInstructionRevised
This commit is contained in:
parent
0f5fe87e9f
commit
656b533523
|
|
@ -47,10 +47,11 @@ public class RouteToAgentRoutingHandler : RoutingHandlerBase, IRoutingHandler
|
|||
if (!string.IsNullOrEmpty(goalAgent))
|
||||
{
|
||||
inst.OriginalAgent = goalAgent;
|
||||
// Emit hook
|
||||
await HookEmitter.Emit<IRoutingHook>(_services, async hook =>
|
||||
await hook.OnRoutingInstructionRevised(inst, message)
|
||||
);
|
||||
}
|
||||
await HookEmitter.Emit<IRoutingHook>(_services, async hook =>
|
||||
await hook.OnRoutingInstructionRevised(inst, message)
|
||||
);
|
||||
|
||||
var agentId = routing.Context.GetCurrentAgentId();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue