File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ import path from 'pathe';
1414import { TOOL_NAMES } from '../../../constants' ;
1515import { createTool } from '../../../tool' ;
1616import {
17- MAX_LINES_TO_READ ,
1817 checkFileType ,
1918 createEmptyFileResult ,
2019 createReadResult ,
2120 getReadToolDescription ,
2221 isImageFile ,
22+ MAX_LINES_TO_READ ,
2323 processFileContent ,
2424 processImage ,
2525 readToolParameters ,
@@ -36,7 +36,7 @@ export function createReadTool(opts: {
3636} ) {
3737 return createTool ( {
3838 name : TOOL_NAMES . READ ,
39- description : `ACP Debug ${ getReadToolDescription ( opts . productName ) } ` ,
39+ description : getReadToolDescription ( opts . productName ) ,
4040 parameters : readToolParameters ,
4141 getDescription : ( { params, cwd } ) => {
4242 if ( ! params . file_path || typeof params . file_path !== 'string' ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export function createWriteTool(opts: {
2929} ) {
3030 return createTool ( {
3131 name : TOOL_NAMES . WRITE ,
32- description : `ACP Debug ${ getWriteToolDescription ( ) } ` ,
32+ description : getWriteToolDescription ( ) ,
3333 parameters : writeToolParameters ,
3434 getDescription : ( { params, cwd } ) => {
3535 if ( ! params . file_path || typeof params . file_path !== 'string' ) {
You can’t perform that action at this time.
0 commit comments