chore(core): use renamed isAgentSessionSubagentEnabled getter in agent-tool

This commit is contained in:
Adam Weidman
2026-05-12 18:04:40 -04:00
parent b6dee0f6e7
commit e5de1f5571
+1 -1
View File
@@ -166,7 +166,7 @@ class DelegateInvocation extends BaseToolInvocation<
);
}
const useSession = this.context.config.isAgentSessionEnabled();
const useSession = this.context.config.isAgentSessionSubagentEnabled();
const options = this.onAgentEvent
? { onAgentEvent: this.onAgentEvent }
: undefined;