发布日期: 2026-08-25
版本号: v1.18.23

针对 Cloudflare AI Gateway 的修复包括:修正了第三方提供商的路由问题,使非 Workers 模型能通过网关的 REST API 正常工作;同时将 Anthropic 模型的点分格式模型ID(如 claude-haiku-4.5)转换为 Anthropic 期望的连字符格式,并修复了会话感知提供商在请求头中发送父会话 ID 的问题。此外,TUI 部分修复了 GitHub 认证中针对不可变 OIDC 主题令牌的问题。感谢社区贡献者 @superhighfives 对上述修复的帮助。

更新内容 (中文)

核心

缺陷修复

  • 修复了第三方提供商的 Cloudflare AI 网关路由问题,使非 Workers 模型能通过网关的 REST API 正常工作。(@superhighfives)
  • 修复了通过 Cloudflare AI 网关使用 Anthropic 模型时的模型标识符格式问题,将 claude-haiku-4.5 这类点分模型ID转换为 Anthropic 要求的短横线连接格式。(@superhighfives)
  • 修复了为会话感知提供商在请求头中发送父会话ID的问题。

终端用户界面

缺证修复

  • 修复了用于不可变 OIDC 主题令牌的 GitHub 认证问题。

感谢1位社区贡献者:

  • @superhighfives:
    • 修复(providers):通过 AI 网关发送 Anthropic 原生的短横线格式标识符 (#44281)
    • 修复(providers):通过 REST API 路由非原生 Cloudflare AI 网关提供商 (#44828)

更新内容 (原始)

Core

Bugfixes

  • Fixed Cloudflare AI Gateway routing for third-party providers so non-Workers models work through the gateway’s REST API. (@superhighfives)
  • Fixed Anthropic models through Cloudflare AI Gateway by converting dotted model IDs like claude-haiku-4.5 to the dashed slug Anthropic expects. (@superhighfives)
  • Fixed parent session IDs being sent in request headers for session-aware providers.

TUI

Bugfixes

  • Fixed GitHub auth for immutable OIDC subject tokens.

Thank you to 1 community contributor:

  • @superhighfives:
    • fix(provider): send Anthropic’s dashed native slug through the AI Gateway (#44281)
    • fix(provider): route non-native Cloudflare AI Gateway providers via the REST API (#44828)

下载链接