MoonshotAI / MoonshotAI/kimi-code
Agent 反复使用 ReadMediaFile 读取文本文件,无视系统提示
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What version of Kimi Code is running?
0.20.2
Which open platform/subscription were you using?
讯飞星辰coding plan
Which model were you using?
kimi-k2.6
What platform is your computer?
Linux 6.6.114.1-microsoft-standard-WSL2 x86_64 x86_64
What issue are you seeing?
● 这是正常的警告——当前交付的PPT没有嵌入字体。现在验证AGENTS.md的修改。
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files
What steps can reproduce the bug?
当他阅读文件的时候会有偶尔的出现这种错误。它不用read工具去读取,而是用ReadMediaFile 读取图片和视频的工具去读取文件,
这是正常的警告——当前交付的PPT没有嵌入字体。现在验证AGENTS.md的修改。
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files.
✗ Used ReadMediaFile (/home/zhouwen/work/kimi_work/ppt/AGENTS.md)
"/home/zhouwen/work/kimi_work/ppt/AGENTS.md" is a text file. Use Read to read text files
What is the expected behavior?
阅读文本用阅读,调用read工具读取
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce on Linux WSL2 by asking the agent to read the reported AGENTS.md text file. Compare the repeated ReadMediaFile calls with the expected Read tool invocation. Done means text files consistently use Read rather than the media-reading tool, including in the reported scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100