Claude Code v2.1.266 修复代理配置回归:CLAUDE_CODE_USE_GATEW
v2.1.266
推荐理由
使用 Claude Code 代理或网关配置的开发者必读。v2.1.265 的回归导致非 Cloud 认证方案全面失效,升级至 v2.1.266 可立即恢复原有配置,无需修改任何设置。
What's changed
变更内容
- 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 change is needed
- 修复了影响 LLM-gateway 和代理设置的 2.1.265 回归问题:未记录的 CLAUDE_CODE_USE_GATEWAY 环境变量,此前在 ANTHROPIC_BASE_URL 和 ANTHROPIC_AUTH_TOKEN 均未设置时会被忽略,但在 2.1.265 版本中开始强制触发 Cloud-gateway 登录,导致将其与 API 密钥、apiKeyHelper 或自定义认证头一起配置时,每次请求都会失败并提示“未登录到 Cloud gateway”。现在该变量单独使用时会被再次忽略;无需进行任何配置更改。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力