feat(core): Standardize Tool and Agent Invocation constructors (Phase 2) (#15775)

This commit is contained in:
Abhi
2026-01-04 15:51:23 -05:00
committed by GitHub
parent eec5d5ebf8
commit 90be9c3587
23 changed files with 140 additions and 44 deletions
@@ -26,8 +26,15 @@ export class RemoteAgentInvocation extends BaseToolInvocation<
private readonly definition: RemoteAgentDefinition,
params: AgentInputs,
messageBus?: MessageBus,
_toolName?: string,
_toolDisplayName?: string,
) {
super(params, messageBus, definition.name, definition.displayName);
super(
params,
messageBus,
_toolName ?? definition.name,
_toolDisplayName ?? definition.displayName,
);
}
getDescription(): string {