From 46b31af330aa669d93c777d5fa577b2ca7c72225 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 11 Dec 2025 23:01:23 -0800 Subject: [PATCH] fix: clarify can't edit in parallel with itself either --- core/tools/definitions/editFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/definitions/editFile.ts b/core/tools/definitions/editFile.ts index 9ca5b6b63..55b3e08a7 100644 --- a/core/tools/definitions/editFile.ts +++ b/core/tools/definitions/editFile.ts @@ -8,7 +8,7 @@ export interface EditToolArgs { } export const NO_PARALLEL_TOOL_CALLING_INSTRUCTION = - "This tool CANNOT be called in parallel with other tools."; + "This tool CANNOT be called in parallel with other tools or itself. I.e., whenever you call this tool, it must be the only tool call."; const CHANGES_DESCRIPTION = "Any modifications to the file, showing only needed changes. Do NOT wrap this in a codeblock or write anything besides the code changes. In larger files, use brief language-appropriate placeholders for large unmodified sections, e.g. '// ... existing code ...'";