Change8

v1.18.23

OpenCode

Summary

This release addresses several critical bugs within the Cloudflare AI Gateway, ensuring better compatibility with third-party and Anthropic models. It also resolves an issue with session ID headers and fixes GitHub authentication for immutable OIDC tokens in the TUI.

Bug Fixes

  • Fixed Cloudflare AI Gateway routing for third-party providers, enabling non-Workers models to work through the gateway's REST API.
  • Fixed Anthropic models through Cloudflare AI Gateway by correctly converting dotted model IDs (e.g., `claude-haiku-4.5`) to the dashed slug format expected by Anthropic.
  • Fixed parent session IDs from being incorrectly sent in request headers for session-aware providers.
  • Fixed GitHub authentication for immutable OIDC subject tokens in the TUI.

OpenCode Documentation