> 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.17, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Made session compaction keep complete recent turns and produce clearer summaries for smaller models

2026-08-12 · v1.18.17

## 修正

- **Core:** Added MERGE Gateway reasoning variants so those model options work correctly. ([@MatthewFeroz](https://github.com/MatthewFeroz))
- **Core:** Capped automatic session retries and added jitter to reduce repeated retry storms.
- **Core:** Enabled PDF attachments for GitHub Copilot models that advertise PDF vision support. ([@stevenao](https://github.com/stevenao))
- **Core:** Applied the correct sampling defaults to DeepSeek V4 Flash on supported providers.
- **Core:** Routed all Muse family models to the correct Meta system prompt. ([@mreso](https://github.com/mreso))
- **Desktop:** Updated Chinese developer terminology to use more widely recognized translations.
- **Desktop:** Used the server's current default model instead of stale local config when choosing the default model.

發布於 [v1.18.17](https://github.com/anomalyco/opencode/releases/tag/v1.18.17)

較新: [Select the Kimi system prompt correctly for official Moonshot and Kimi providers](https://opencode.ai/changelog/v1.18.18) (v1.18.18)

較舊: [Open the project menu with a right-click in Home](https://opencode.ai/changelog/v1.18.16) (v1.18.16)

[所有更新](https://opencode.ai/changelog)

---

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