Flow just stops when using openrouter models #1169

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

Originally created by @alexTwo3 on GitHub (Aug 8, 2025).

Originally assigned to: @thdxr on GitHub.

When using openrouter, it will do the first one or two tool calls fine, but then suddenly stop. This doesnt happen when using the anthropic login or models

Models used:
Kimi K2
Qwen3 Coder

Originally created by @alexTwo3 on GitHub (Aug 8, 2025). Originally assigned to: @thdxr on GitHub. When using openrouter, it will do the first one or two tool calls fine, but then suddenly stop. This doesnt happen when using the anthropic login or models Models used: Kimi K2 Qwen3 Coder
Author
Owner

@realugi commented on GitHub (Aug 8, 2025):

I had a similar problem. For my case, it seemed that certain model providers (like eg novita) do not return the right tool-call signature.
I'd recommend that once you observe a tool-call not going through, go to activity page of openrouter and deactivate the provider that last returned a response.
I did that with 3-4 providers and then everything worked like a charm.

@realugi commented on GitHub (Aug 8, 2025): I had a similar problem. For my case, it seemed that certain model providers (like eg [novita](https://github.com/sst/opencode/pull/932)) do not return the right tool-call signature. I'd recommend that once you observe a tool-call not going through, go to [activity page of openrouter](https://openrouter.ai/activity) and deactivate the provider that last returned a response. I did that with 3-4 providers and then everything worked like a charm.
Author
Owner

@zombierantcasey commented on GitHub (Aug 14, 2025):

I had a similar problem. For my case, it seemed that certain model providers (like eg novita) do not return the right tool-call signature. I'd recommend that once you observe a tool-call not going through, go to activity page of openrouter and deactivate the provider that last returned a response. I did that with 3-4 providers and then everything worked like a charm.

Thank you for this. I was wondering what was going on, originally figured it was an OpenCode bug, but recently noticed some models just didn't encounter this issue.

This has entirely fixed it for me. FYI, Novita & Baseten are guilty of this.

@zombierantcasey commented on GitHub (Aug 14, 2025): > I had a similar problem. For my case, it seemed that certain model providers (like eg [novita](https://github.com/sst/opencode/pull/932)) do not return the right tool-call signature. I'd recommend that once you observe a tool-call not going through, go to [activity page of openrouter](https://openrouter.ai/activity) and deactivate the provider that last returned a response. I did that with 3-4 providers and then everything worked like a charm. Thank you for this. I was wondering what was going on, originally figured it was an OpenCode bug, but recently noticed some models just didn't encounter this issue. This has entirely fixed it for me. FYI, Novita & Baseten are guilty of this.
Author
Owner

@rekram1-node commented on GitHub (Aug 29, 2025):

Anyone still having issues here?

@rekram1-node commented on GitHub (Aug 29, 2025): Anyone still having issues here?
Author
Owner

@samholmes commented on GitHub (Sep 7, 2025):

I am still having this issue and I provided a clear video and logs of the reproduced case: #2478

@samholmes commented on GitHub (Sep 7, 2025): I am still having this issue and I provided a clear video and logs of the reproduced case: #2478
Author
Owner

@Anthyf commented on GitHub (Nov 19, 2025):

I had a similar problem. For my case, it seemed that certain model providers (like eg novita) do not return the right tool-call signature. I'd recommend that once you observe a tool-call not going through, go to activity page of openrouter and deactivate the provider that last returned a response. I did that with 3-4 providers and then everything worked like a charm.

How do you guys deactivate it? I entered the activity page of openrouter but I can't see anywhere that I can click to deactivate one

@Anthyf commented on GitHub (Nov 19, 2025): > I had a similar problem. For my case, it seemed that certain model providers (like eg [novita](https://github.com/sst/opencode/pull/932)) do not return the right tool-call signature. I'd recommend that once you observe a tool-call not going through, go to [activity page of openrouter](https://openrouter.ai/activity) and deactivate the provider that last returned a response. I did that with 3-4 providers and then everything worked like a charm. How do you guys deactivate it? I entered the activity page of openrouter but I can't see anywhere that I can click to deactivate one
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1169