Qwen3 as well as Kimi K2 keep stopping mid-chat #1055

Open
opened 2026-02-16 17:29:18 -05:00 by yindo · 9 comments
Owner

Originally created by @jordyvandomselaar on GitHub (Aug 1, 2025).

Originally assigned to: @thdxr on GitHub.

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

Originally created by @jordyvandomselaar on GitHub (Aug 1, 2025). Originally assigned to: @thdxr on GitHub. 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
Author
Owner

@olafgeibig commented on GitHub (Aug 3, 2025):

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

@olafgeibig commented on GitHub (Aug 3, 2025): I have the same issue using 0.3.110 with Qwen 3 Coder @ openrouter either free or paid. Went back to Claude.
Author
Owner

@eislambey commented on GitHub (Aug 3, 2025):

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 commented on GitHub (Aug 3, 2025): when this happens, i check the activities page on OpenRouter and see this. A 0.3 TPS may be the cause of this. <img width="549" height="143" alt="Image" src="https://github.com/user-attachments/assets/0c752b34-8fe3-4573-9c5f-23349ee16569" />
Author
Owner

@jordyvandomselaar commented on GitHub (Aug 3, 2025):

Image

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

@jordyvandomselaar commented on GitHub (Aug 3, 2025): ![Image](https://github.com/user-attachments/assets/d0b05837-8867-43f8-8699-6e5606d4397a) My TPS doesn't drop quite that low, but I do see "STOP" coming in
Author
Owner

@NasonZ commented on GitHub (Aug 4, 2025):

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

@NasonZ commented on GitHub (Aug 4, 2025): Same issue when trying to run qwen3 via ollama, tool calling stops working and few messages in.
Author
Owner

@thdxr commented on GitHub (Aug 4, 2025):

for local don't use ollama use LM studio beta

@thdxr commented on GitHub (Aug 4, 2025): for local don't use ollama use LM studio beta
Author
Owner

@thdxr commented on GitHub (Aug 4, 2025):

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

@thdxr commented on GitHub (Aug 4, 2025): for qwen3 coder i recommend using alibaba directly - a lot of openrouter providers are unreliable
Author
Owner

@jordyvandomselaar commented on GitHub (Aug 4, 2025):

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 commented on GitHub (Aug 4, 2025): 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
Author
Owner

@djmaze commented on GitHub (Oct 25, 2025):

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 commented on GitHub (Oct 25, 2025): > 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.)
Author
Owner

@dalekirkwood commented on GitHub (Dec 16, 2025):

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

@dalekirkwood commented on GitHub (Dec 16, 2025): I'm also having this issue with Kimi 2 Thinking using OpenCode Zen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1055