MoonshotAI / MoonshotAI/kimi-code

Output just stops when model runs into sensitive content without explaining this

Open
#883 1 comment 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.17.1

Which open platform/subscription were you using?

kimi code

Which model were you using?

kimi-for-coding

What platform is your computer?

Linux 6.12.65-amd64-desktop-rolling x86_64 unknown

What issue are you seeing?

When the output gets to sensitive topic (Chinese gov/poltiics) the output just stops. and it keeps happening that I had to personally figure out what the problem is by noticing that it always stopped after or just before writing something related to poltiics. It's kind of ridiculous that the TUI doesn't explain what's wrong and it just stops mid-output. Surely the API is returning some info we can display that the censorship is the result for the stoppage so we can work around it. Instead I had to deduce what was going on.

What steps can reproduce the bug?

Tell it to write something political that would have it output the names of certain Chinese politicians.

What is the expected behavior?

Some error message or jus thte ouptut telling you that the topic is sensitive.

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 stop in the Kimi Code TUI with version 0.17.1, the kimi-for-coding model, and a political prompt. Trace how the API response is handled when generation ends mid-output; done means the TUI explains that sensitive content caused the stoppage instead of silently ending.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.