opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Kimi K2 Keeps Stopping - Opencode Zen

Open dalekirkwoodcerebria opened this issue 1 month ago • 2 comments

Description

Hi All

I'm having an issue where Kimi K2 Thinking just keep stopping. I don't know why. I've tested it on a couple of systems but no improvement. I'm using Opencode Zen to reduce any issues.

Here is a session I created to show the issue, as you can see, I had to manually type continue 3 times despite being a simple task - https://opncd.ai/share/lT6JFKUl

I also found these 2 issues:

https://github.com/sst/opencode/issues/1522 https://github.com/sst/opencode/issues/1329

Although similar, they use the OpenRouter endpoint, the providers can be an issue there.

Thanks

OpenCode version

v1.0.163

Steps to reproduce

  1. Open Opencode
  2. Select Kimi K2 Thinking
  3. Ask it to do something in build mode
  4. Most the time, it will stop prematurely

Screenshot and/or share link

No response

Operating System

Linux Mint 22

Terminal

Terminator

dalekirkwoodcerebria avatar Dec 16 '25 19:12 dalekirkwoodcerebria

We are working w/ inference provider for kimi k2 thinking, they currently have a bug w/ it on their end

rekram1-node avatar Dec 16 '25 19:12 rekram1-node

@rekram1-node thanks for the super fast response!

dalekirkwood avatar Dec 16 '25 19:12 dalekirkwood

Kimi K2 Thinking should be fixed in next release, temporarily blacklisted sending reasoning back to it because it was causing issues, now that they fixed it for best performance u need to send reasoning back so in next release it's re-enabled

rekram1-node avatar Dec 18 '25 19:12 rekram1-node

Kimi K2 Thinking should be fixed in next release, temporarily blacklisted sending reasoning back to it because it was causing issues, now that they fixed it for best performance u need to send reasoning back so in next release it's re-enabled

amazing - thanks so much!

dalekirkwood avatar Dec 19 '25 08:12 dalekirkwood