MoonshotAI / MoonshotAI/kimi-code

Improve image path handling and prevent auto-scroll while reading previous messages

Open
#2,888 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.36.0

Which open platform/subscription were you using?

subscription

Which model were you using?

Kimi K3

What platform is your computer?

MacOS(Darwin 25.5.0 arm64 arm)

What issue are you seeing?

Kimi 调用 ReadMediaFile 读取图片时,感觉没有 Claude Code 那么灵敏。

比如把图片拖进 Ghostty 终端后,macOS 截图文件名中 "PM" 前面其实是一个特殊的窄空格字符,直接引用路径会匹配失败,需要改用通配符来复制文件。而且我认为Claude Code中的[Image #1]会是一个观感上更舒服的做法。

其次,当我正在往上翻阅之前的对话时,如果下面有新内容刷新,页面会自动跳回到底部,导致我还得重新滚回刚才阅读的位置。

btw模型很好用👍

What steps can reproduce the bug?

Kimi Code

Image
Image
What is the expected behavior?

Claude Code

Image
Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ReadMediaFile entry point and reproduce the dragged-image path case on macOS with Ghostty. Then inspect the conversation view's scroll behavior while new content arrives; done means the reported image paths resolve correctly and reading older messages no longer jumps to the bottom.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.