OpenCode v1.18.23 — Cloudflare AI Gateway routing fixes for non-native and Anthropic providers

SST

Tools official 1 src. ~1 min

Aug 25 06:30 release. Core bugfixes: Cloudflare AI Gateway routing for third-party providers now works through the gateway's REST API (previously only worked for Workers-native models); Anthropic models routed through AI Gateway now get the dashed native slug Anthropic expects (e.g. `claude-haiku-4.5`) instead of the dotted variant; parent session IDs no longer leak into request headers for session-aware providers. TUI bugfix: GitHub auth now works for immutable OIDC subject tokens. Community credit: @superhighfives for both AI Gateway patches (#44281, #44828).

Why it matters

The Cloudflare AI Gateway path is the recommended deployment for many teams that proxy Claude / OpenAI / open-source models through one egress; both fixes are silent-fail-correction in production: a third-party model that ships August 25 through Cloudflare AI Gateway via OpenCode was simply not routing. The parent-session-ID header leak is a small information-disclosure fix.

Importance: 2/5

default

Sources

official GitHub release