remove unused params

This commit is contained in:
A.K.M. Adib
2026-03-25 13:57:34 -04:00
parent 2c9a84f828
commit 8804fb7701
2 changed files with 2 additions and 20 deletions
+1 -10
View File
@@ -454,16 +454,7 @@ class EditToolInvocation
toolName?: string,
displayName?: string,
) {
super(
params,
messageBus,
toolName,
displayName,
undefined,
undefined,
true,
() => this.config.getApprovalMode(),
);
super(params, messageBus, toolName, displayName, undefined, undefined);
if (this.config.isPlanMode()) {
const safeFilename = path.basename(this.params.file_path);
this.resolvedPath = path.join(
+1 -10
View File
@@ -156,16 +156,7 @@ class WriteFileToolInvocation extends BaseToolInvocation<
toolName?: string,
displayName?: string,
) {
super(
params,
messageBus,
toolName,
displayName,
undefined,
undefined,
true,
() => this.config.getApprovalMode(),
);
super(params, messageBus, toolName, displayName, undefined, undefined);
if (this.config.isPlanMode()) {
const safeFilename = path.basename(this.params.file_path);