Skip to content

Agent 反复使用 ReadMediaFile 读取文本文件,无视系统提示 #1218

Description

@zhouwen915-web

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.

... (3 more lines, ctrl+o to expand)

✗ 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.

... (3 more lines, ctrl+o to expand)

✗ 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.

... (8 more lines, ctrl+o to expand)

✗ 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.

... (8 more lines, ctrl+o to expand)

✗ 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.

... (3 more lines, ctrl+o to expand)

✗ 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.

... (3 more lines, ctrl+o to expand)

✗ 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.

... (8 more lines, ctrl+o to expand)

✗ 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.

... (8 more lines, ctrl+o to expand)

✗ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions