anomalyco / anomalyco/opencode

v1.18.21 unknown finish reason instead of stopping early

Open
#44,283 2 comments 1 reaction 1 assignee View on GitHub

@rekram1-node is already working on this.

Since Aug 23, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

"Continue responses when a model reports an unknown finish reason instead of stopping early" This problem has not been completely resolved . In version v1.18.21, the issue of suddenly stopping the execution of tasks still exists. This problem occurs frequently, especially in recent days, when many users use the free Ox Alpha model provided by opencode or openrouter. Users have to continuously send the “Continue” command to keep the task running.

Plugins

No response

OpenCode version

v1.18.21

Steps to reproduce

"Continue responses when a model reports an unknown finish reason instead of stopping early" This problem has not been completely resolved . In version v1.18.21, the issue of suddenly stopping the execution of tasks still exists. This problem occurs frequently, especially in recent days, when many users use the free Ox Alpha model provided by opencode or openrouter. Users have to continuously send the “Continue” command to keep the task running.

Screenshot and/or share link

"Continue responses when a model reports an unknown finish reason instead of stopping early" This problem has not been completely resolved . In version v1.18.21, the issue of suddenly stopping the execution of tasks still exists. This problem occurs frequently, especially in recent days, when many users use the free Ox Alpha model provided by opencode or openrouter. Users have to continuously send the “Continue” command to keep the task running.

Operating System

win10 x64

Terminal

opencode desktop

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.