diff --git a/src/core/tools/EditFileCodexTool.ts b/src/core/tools/EditFileCodexTool.ts index 26b5619e96..3602714b38 100644 --- a/src/core/tools/EditFileCodexTool.ts +++ b/src/core/tools/EditFileCodexTool.ts @@ -191,7 +191,7 @@ export class ApplyPatchTool extends BaseTool<"edit_file_codex"> { // Save the changes if (isPreventFocusDisruptionEnabled) { - await task.diffViewProvider.saveDirectly(relPath, newContent, true, diagnosticsEnabled, writeDelayMs) + await task.diffViewProvider.saveDirectly(relPath, newContent, false, diagnosticsEnabled, writeDelayMs) } else { await task.diffViewProvider.saveChanges(diagnosticsEnabled, writeDelayMs) }