> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.18.20, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Surface failed subagent tool calls with a resumable `task_id`

2026-08-21 · v1.18.20

## Fixes

- **Core:** Retry provider responses that end with `finish_reason: network_error`.
- **Core:** Retry more network error variants, including `network-error` and `network_error`.
- **Core:** Surface resumable subagent failures instead of returning an empty result.
- **Core:** Preserve Cerebras `max_completion_tokens` without applying an extra output cap.
- **Core:** Answer permission requests triggered by subagents during `opencode run`.
- **Core:** Retry xAI capacity and temporary unavailability stream errors.

Released in [v1.18.20](https://github.com/anomalyco/opencode/releases/tag/v1.18.20)

Newer: [Continue responses when a model reports an unknown finish reason instead of stopping early](https://opencode.ai/changelog/v1.18.21) (v1.18.21)

Older: [Added native OpenAI and Anthropic passthroughs for Cloudflare AI Gateway models](https://opencode.ai/changelog/v1.18.19) (v1.18.19)

[All updates](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
