mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 18:44:30 -07:00
feat(core): refactor subagent tool to unified invoke_subagent tool (#24489)
This commit is contained in:
@@ -27,6 +27,7 @@ interface MockToolOptions {
|
||||
description?: string;
|
||||
canUpdateOutput?: boolean;
|
||||
isOutputMarkdown?: boolean;
|
||||
kind?: Kind;
|
||||
shouldConfirmExecute?: (
|
||||
params: { [key: string]: unknown },
|
||||
signal: AbortSignal,
|
||||
@@ -101,7 +102,7 @@ export class MockTool extends BaseDeclarativeTool<
|
||||
options.name,
|
||||
options.displayName ?? options.name,
|
||||
options.description ?? options.name,
|
||||
Kind.Other,
|
||||
options.kind ?? Kind.Other,
|
||||
options.params,
|
||||
options.messageBus ?? createMockMessageBus(),
|
||||
options.isOutputMarkdown ?? false,
|
||||
|
||||
Reference in New Issue
Block a user