Skip to content

Commit 41c871d

Browse files
author
Eric Wheeler
committed
disable insert_content instructions
this tool does not work without line numbers
1 parent d6fe15b commit 41c871d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/prompts/tools/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const toolDescriptionMap: Record<string, (args: ToolArgs) => string | undefined>
3737
access_mcp_resource: (args) => getAccessMcpResourceDescription(args),
3838
switch_mode: () => getSwitchModeDescription(),
3939
new_task: (args) => getNewTaskDescription(args),
40-
insert_content: (args) => getInsertContentDescription(args),
40+
// insert_content: (args) => getInsertContentDescription(args),
4141
search_and_replace: (args) => getSearchAndReplaceDescription(args),
4242
apply_diff: (args) =>
4343
args.diffStrategy ? args.diffStrategy.getToolDescription({ cwd: args.cwd, toolOptions: args.toolOptions }) : "",

0 commit comments

Comments
 (0)