# opencode v1.18.17: session compaction fix, PDF attachments, DeepSeek Flash defaults

> Session compaction now retains complete recent turns and produces clearer summaries for smaller models. PDF attachments are enabled for Copilot models advertising PDF vision support. MERGE Gateway reasoning variants, DeepSeek V4 Flash sampling defaults, and Muse family routing all land as fixes. Retries are capped with jitter to reduce storm behaviour.

| | |
|---|---|
| **Tool** | opencode |
| **Version** | v1.18.17 |
| **Kind** | release |
| **Published** | 2026-08-12 |
| **Observed** | 2026-08-21 |
| **Significance** | 2/5 |
| **Breaking** | no |
| **Categories** | fix, feature, model-support |

## What changed


### Core
- **Session compaction**: keeps complete recent turns; produces clearer summaries for smaller models.
- **MERGE Gateway**: reasoning variants added so those model options work correctly.
- **Retry storms**: automatic session retries capped with jitter.
- **PDF attachments**: enabled for GitHub Copilot models that advertise PDF vision support.
- **DeepSeek V4 Flash**: correct sampling defaults applied on supported providers.
- **Muse models**: all Muse family models routed to correct Meta system prompt.

### Desktop
- **Chinese terminology**: updated to use more widely recognized translations.
- **Default model**: uses server's current default model instead of stale local config.


## Sources

- [github_release](https://github.com/anomalyco/opencode/releases/tag/v1.18.17) — retrieved 2026-08-21


## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/opencode/v1-18-17
Entity: https://changelogs.info/opencode
Event ID: `evt_2026-08-12_opencode_v1-18-17`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
