---
id: 20260909-T0-11
title: "Claude Code v2.1.266修复LLM网关路由回归问题"
title_en: "Claude Code v2.1.266 Fixes LLM-Gateway Routing Regression"
url: https://ai.daily.yangsir.net/daily/20260909-T0-11
issue_date: 2026-09-09
publish_date: 2026-09-08T23:55:14.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.266
---

# Claude Code v2.1.266修复LLM网关路由回归问题

Claude Code发布v2.1.266版本更新。此版本修复了v2.1.265中引入的、影响LLM-gateway和代理设置的回归问题。该问题曾导致CLAUDE_CODE_USE_GATEWAY环境变量在未同时设置ANTHROPIC_BASE_URL和ANTHROPIC_AUTH_TOKEN时，不再被忽略，而是独立强制触发Cloud网关登录。

## English Version

**Claude Code v2.1.266 Fixes LLM-Gateway Routing Regression**

Claude Code released version v2.1.266, fixing a regression introduced in v2.1.265 that affected LLM-gateway and proxy setups. The issue caused the undocumented CLAUDE_CODE_USE_GATEWAY environment variable to force Cloud-gateway sign-in on its own when the other two variables were not set.

---

**来源**：[Claude Code Releases](https://github.com/anthropics/claude-code/releases/tag/v2.1.266)

**详情页**：https://ai.daily.yangsir.net/daily/20260909-T0-11

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*