fix: clarify can't edit in parallel with itself either

This commit is contained in:
Dallin Romney 2025-12-11 23:01:23 -08:00
parent 316df75de6
commit 46b31af330

View file

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