MoonshotAI / MoonshotAI/kimi-code
[Bug] GUI drops new prompt, duplicates previous reply, and appends the latest reply out of order
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?
Kimi Code GUI 0.39.1
Which open platform/subscription were you using?
Unknown — not shown in the affected GUI conversation view
Which model were you using?
kimi k3 256k
What platform is your computer?
Darwin 24.6.0 x86_64 i386
What issue are you seeing?
The conversation timeline becomes inconsistent after sending a new prompt in the GUI. The previous model reply is shown again, the newly sent user prompt disappears from the conversation, and the latest model reply is appended directly after the previous reply. This makes the timeline appear out of order and leaves the latest user message missing from view.
This occurs frequently. Restarting and reopening the GUI multiple times does not prevent it from recurring.
What steps can reproduce the bug?
- Open a conversation in Kimi Code GUI.
- Send a prompt and wait for the model reply.
- Enter and send another prompt in the same conversation.
- Observe the conversation timeline.
Actual result:
- The newly sent user prompt disappears from the conversation.
- The previous model reply is displayed again.
- The latest model reply is appended directly after the previous reply.
- The user message is missing from the visible timeline and the replies appear out of order.
The issue is frequent/recurring, but the exact reproduction rate has not been measured.
What is the expected behavior?
The newly sent user prompt should remain visible in the conversation and be followed by its corresponding model reply in the correct order. Previous replies should appear only once.
Additional information
Restart behavior: reopening the GUI multiple times does not prevent the issue from recurring.
Evidence: the screenshot provided with this report shows the same M16 status reply appearing twice in the conversation. No claim is being made that the missing prompt is permanently deleted from storage; this report describes the visible GUI timeline behavior.
Contribution
- I am willing to submit a PR for this bug fix myself (please wait for maintainer approval in this issue first)
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 the issue in Kimi Code GUI 0.39.1 using the four steps in the report, then trace how the conversation timeline handles the second prompt and its reply. Verify the fix by confirming the new prompt remains visible, each reply appears once, and replies stay paired and ordered correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100