MoonshotAI / MoonshotAI/kimi-cli

[Bug]: [Pasted X chars] is sent as-is instead of actual text content

Open
#1,946 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

kimi, version 1.36.0

Which open platform/subscription were you using?

none

Which model were you using?

kimi-k2.5

What platform is your computer?

Darwin 25.2.0 arm64 arm

What issue are you seeing?

When pasting long text into the CLI, the input is not processed correctly.
Instead of expanding the pasted content, the terminal displays it as [Pasted X chars] even after pressing Enter — meaning the actual text is never sent to the model.

What steps can reproduce the bug?
  1. Open Kimi CLI
  2. When prompted for input, paste a large block of text (500+ characters)
  3. Press Enter
What is the expected behavior?

Full pasted content is submitted as input

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 by reproducing the issue in Kimi Code CLI 1.36.0 on macOS by pasting more than 500 characters at the input prompt and pressing Enter. Trace the CLI's pasted-input handling to find why [Pasted X chars] is submitted instead of the full text; done means the complete pasted content reaches the model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.