mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-10 21:30:40 -07:00
feat(core): restore MessageBus optionality for soft migration (Phase 1) (#15774)
This commit is contained in:
@@ -475,11 +475,12 @@ export class WriteFileTool
|
||||
|
||||
protected createInvocation(
|
||||
params: WriteFileToolParams,
|
||||
messageBus?: MessageBus,
|
||||
): ToolInvocation<WriteFileToolParams, ToolResult> {
|
||||
return new WriteFileToolInvocation(
|
||||
this.config,
|
||||
params,
|
||||
this.messageBus,
|
||||
messageBus ?? this.messageBus,
|
||||
this.name,
|
||||
this.displayName,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user