返回全部动态

Claude Code 2.1.266 修复网关回归问题

原标题:2.1.266

Claude Code Changelog一手来源产品发布质量 72

AI 摘要

Claude Code 2.1.266 修复了 2.1.265 引入的回归问题,该问题影响 LLM-gateway 和代理设置。此前,未记录的 CLAUDE_CODE_USE_GATEWAY 环境变量在 2.1.265 中会单独强制 Cloud-gateway 登录,导致与 API 密钥等配置冲突,请求失败。新版本中该变量单独设置时再次被忽略,无需更改配置。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Fixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented `CLAUDE_CODE_USE_GATEWAY` environment variable, previously ignored unless `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` were both set, began forcing Cloud-gateway sign-in on its own in 2.1.265, so configurations that set it alongside an API key, `apiKeyHelper`, or custom auth headers failed every request with "Not signed in to the Cloud gateway". The variable on its own is ignored again; no configuration chan


发布时间:—
抓取时间:2026-09-09 08:01
来源机构:Anthropic
阅读原文raw.githubusercontent.com