diff --git a/packages/core/src/agents/remote-invocation.ts b/packages/core/src/agents/remote-invocation.ts index 2b8b6268c7..d9ca70d0e2 100644 --- a/packages/core/src/agents/remote-invocation.ts +++ b/packages/core/src/agents/remote-invocation.ts @@ -273,9 +273,10 @@ export class RemoteAgentInvocation extends BaseToolInvocation< const onAbort = () => executionController.abort(); signal.addEventListener('abort', onAbort, { once: true }); - const { pid: executionId, result } = ExecutionLifecycleService.createVirtualExecution( + const { pid: executionId, result } = ExecutionLifecycleService.createExecution( '', () => executionController.abort(), + 'remote_agent', ); if (executionId === undefined) { signal.removeEventListener('abort', onAbort);