opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Qwen3 as well as Kimi K2 keep stopping mid-chat

Open jordyvandomselaar opened this issue 5 months ago • 9 comments

At some point they stop calling tools, and in the case of Qwen3 it just keeps looping when i tell it to carry on. Using OpenRouter as the model provider

https://github.com/user-attachments/assets/2facd4ae-db1e-4995-a389-d538bde8dea1

jordyvandomselaar avatar Aug 02 '25 02:08 jordyvandomselaar

I have the same issue using 0.3.110 with Qwen 3 Coder @ openrouter either free or paid. Went back to Claude.

olafgeibig avatar Aug 03 '25 08:08 olafgeibig

when this happens, i check the activities page on OpenRouter and see this. A 0.3 TPS may be the cause of this.

Image

eislambey avatar Aug 03 '25 10:08 eislambey

Image

My TPS doesn't drop quite that low, but I do see "STOP" coming in

jordyvandomselaar avatar Aug 03 '25 22:08 jordyvandomselaar

Same issue when trying to run qwen3 via ollama, tool calling stops working and few messages in.

NasonZ avatar Aug 04 '25 09:08 NasonZ

for local don't use ollama use LM studio beta

thdxr avatar Aug 04 '25 20:08 thdxr

for qwen3 coder i recommend using alibaba directly - a lot of openrouter providers are unreliable

thdxr avatar Aug 04 '25 20:08 thdxr

I think openRouter automatically routes it to the next one if the request fails -- Qwen3 Coder works fine via Roo Code / Cline, I wonder if they have some sort of retry logic in there

jordyvandomselaar avatar Aug 04 '25 22:08 jordyvandomselaar

for local don't use ollama use LM studio beta

Using llama.cpp, it seems to also work very well. (Tried with qwen3-coder-30b.)

djmaze avatar Oct 26 '25 00:10 djmaze

I'm also having this issue with Kimi 2 Thinking using OpenCode Zen.

dalekirkwood avatar Dec 16 '25 18:12 dalekirkwood