Allow router to load utility
This commit is contained in:
parent
f6ce283b9b
commit
36c568efac
|
|
@ -13,8 +13,6 @@ public class BasicAgentHook : AgentHookBase
|
||||||
|
|
||||||
public override void OnAgentUtilityLoaded(Agent agent)
|
public override void OnAgentUtilityLoaded(Agent agent)
|
||||||
{
|
{
|
||||||
if (agent.Type == AgentType.Routing) return;
|
|
||||||
|
|
||||||
var conv = _services.GetRequiredService<IConversationService>();
|
var conv = _services.GetRequiredService<IConversationService>();
|
||||||
var isConvMode = conv.IsConversationMode();
|
var isConvMode = conv.IsConversationMode();
|
||||||
if (!isConvMode) return;
|
if (!isConvMode) return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue