mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 07:01:09 -07:00
refactor: use createExecution for remote lifecycle entries
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user