Skip to content

Commit f789684

Browse files
committed
done
1 parent e90ab41 commit f789684

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/commands/acp/tools/read.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import path from 'pathe';
1414
import { TOOL_NAMES } from '../../../constants';
1515
import { createTool } from '../../../tool';
1616
import {
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') {

src/commands/acp/tools/write.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)