anomalyco / anomalyco/opencode
Provider finish_reason: network_error with Ox Alpha Free (unlimited)
@MrMushrooooom 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
Using the Ox Alpha Free (unlimited) model, OpenCode repeatedly returns Provider finish_reason: network_error during normal usage. The error appears inline in the chat as a red banner. The only workaround is opening a new chat session — the error persists within the same session.
This has been reported in #44358, #44360, and #44376 but those were auto-closed for not using the bug report template.
OpenCode version
latest (dev branch)
Steps to reproduce
- Configure OpenCode with the Ox Alpha Free (unlimited) model
- Start a chat session and send a few messages
- After several exchanges, the
network_errorfinish_reason appears - Continuing in the same session keeps producing the error
- Opening a new session temporarily fixes it until it recurs
Screenshot and/or share link
Error banner shows: Provider finish_reason: network_error
Operating System
macOS
Terminal
iTerm2
EDIT: Sorry for the duplicate issues. It was cause by network connectivity issues.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.