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 1566b5196d
commit 1d65ae6882
+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;