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 ...'";