chore: read_file 默认行数 500→2000

This commit is contained in:
thzxx
2026-06-10 14:12:55 +08:00
parent 751f548b0c
commit da249d43de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export async function handleReadFile(params: { path: string; encoding?: string;
// 按行读取
const content = await fs.readFile(filePath, encoding);
const lines = content.split('\n');
const defaultLimit = 500;
const defaultLimit = 2000;
let resultContent = content;
let lineRange: [number, number] = [1, lines.length];