You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v1.18.21 unknown finish reason instead of stopping early #44283
"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.
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
github-actions commentedon Aug 23, 2026
This issue might be a duplicate of existing issues. Please check:
finish=unknown, requiring repeated "Continue" commandsfinish: unknownunknown finish reasonerror omits raw provider finish_reason (core v2)If your issue is covered by one of these, please add a comment there instead so the discussion stays focused.
54145a commentedon Sep 15, 2026
Same issue.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊