Skip to content

Commit 36c568e

Browse files
authored
Allow router to load utility
1 parent f6ce283 commit 36c568e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Infrastructure/BotSharp.Core/Agents/Hooks/BasicAgentHook.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ public BasicAgentHook(IServiceProvider services, AgentSettings settings)
1313

1414
public override void OnAgentUtilityLoaded(Agent agent)
1515
{
16-
if (agent.Type == AgentType.Routing) return;
17-
1816
var conv = _services.GetRequiredService<IConversationService>();
1917
var isConvMode = conv.IsConversationMode();
2018
if (!isConvMode) return;

0 commit comments

Comments
 (0)