Elffuss BraidHub

kikocis/continue public

fix: :pencil2: Fix typo in No Parallel Tool Calling Instruction
Changeset051d3a7f5a125185098297e9ea9b95bfac68a145186cfebcb32dc3444c19f4b5
Authorchezsmithy <chezsmithy@me.com> · 2025-09-10 00:13 -07:00
Committerchezsmithy <chezsmithy@me.com> · 2025-09-10 00:13 -07:00
Parents174c272aba6c

Browse the files at this changeset

3 files changed

modified core/tools/definitions/editFile.ts +2 −2
@@ -7,7 +7,7 @@
77 changes: string;
88 }
99
10-export const NO_PARALLEL_TOOL_CALLING_INTSRUCTION =
10+export const NO_PARALLEL_TOOL_CALLING_INSTRUCTION =
1111 "This tool CANNOT be called in parallel with other tools.";
1212
1313 const CHANGES_DESCRIPTION =
@@ -24,7 +24,7 @@
2424 isInstant: false,
2525 function: {
2626 name: BuiltInToolNames.EditExistingFile,
27- description: `Use this tool to edit an existing file. If you don't know the contents of the file, read it first.\n${EDIT_CODE_INSTRUCTIONS}\n${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}`,
27+ description: `Use this tool to edit an existing file. If you don't know the contents of the file, read it first.\n${EDIT_CODE_INSTRUCTIONS}\n${NO_PARALLEL_TOOL_CALLING_INSTRUCTION}`,
2828 parameters: {
2929 type: "object",
3030 required: ["filepath", "changes"],
modified core/tools/definitions/multiEdit.ts +2 −2
@@ -1,6 +1,6 @@
11 import { Tool } from "../..";
22 import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
3-import { NO_PARALLEL_TOOL_CALLING_INTSRUCTION } from "./editFile";
3+import { NO_PARALLEL_TOOL_CALLING_INSTRUCTION } from "./editFile";
44 import { singleFindAndReplaceTool } from "./singleFindAndReplace";
55
66 export interface EditOperation {
@@ -43,7 +43,7 @@
4343
4444 CRITICAL REQUIREMENTS:
4545 1. ALWAYS use the ${BuiltInToolNames.ReadFile} tool just before making edits, to understand the file's up-to-date contents and context. The user can also edit the file while you are working with it.
46-2. ${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}
46+2. ${NO_PARALLEL_TOOL_CALLING_INSTRUCTION}
4747 3. When making edits:
4848 - Ensure all edits result in idiomatic, correct code
4949 - Do not leave the code in a broken state
modified core/tools/definitions/singleFindAndReplace.ts +2 −2
@@ -1,6 +1,6 @@
11 import { Tool } from "../..";
22 import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
3-import { NO_PARALLEL_TOOL_CALLING_INTSRUCTION } from "./editFile";
3+import { NO_PARALLEL_TOOL_CALLING_INSTRUCTION } from "./editFile";
44
55 export interface SingleFindAndReplaceArgs {
66 filepath: string;
@@ -24,7 +24,7 @@
2424
2525 IMPORTANT:
2626 - ALWAYS use the \`${BuiltInToolNames.ReadFile}\` tool just before making edits, to understand the file's up-to-date contents and context. The user can also edit the file while you are working with it.
27-- ${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}
27+- ${NO_PARALLEL_TOOL_CALLING_INSTRUCTION}
2828 - When editing text from \`${BuiltInToolNames.ReadFile}\` tool output, ensure you preserve exact whitespace/indentation.
2929 - Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
3030 - Use \`replace_all\` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable, for instance.