fix: write too long file

This commit is contained in:
zhayujie
2026-02-01 17:29:48 +08:00
parent 85578a06b7
commit 99c273a293
3 changed files with 44 additions and 17 deletions

View File

@@ -179,7 +179,7 @@ def _build_tooling_section(tools: List[Any], language: str) -> List[str]:
tool_map = {}
tool_descriptions = {
"read": "读取文件内容",
"write": "创建新文件或完全覆盖现有文件(会删除原内容!追加内容请用 edit",
"write": "创建新文件或完全覆盖现有文件(会删除原内容!追加内容请用 edit。注意:单次 write 内容不要超过 10KB超大文件请分步创建",
"edit": "精确编辑文件(追加、修改、删除部分内容)",
"ls": "列出目录内容",
"grep": "在文件中搜索内容",