Fixed 2.1.265 regression with CLAUDE_CODE_USE_GATEWAY environment variable
Fixed a regression in 2.1.265 where the CLAUDE_CODE_USE_GATEWAY environment variable was incorrectly forcing Cloud-gateway sign-in even when used with API keys or custom auth headers, causing request failures. The variable is now ignored when used alone, restoring previous behavior without requiring configuration changes.
- Fixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented
CLAUDE_CODE_USE_GATEWAYenvironment variable, previously ignored unlessANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKENwere 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
Source: original entry ↗
More from Claude Code
Follow Claude Code to get its new changes in your feed and email digest.
Claude Code 2.1.304: Plugin hooks, auto-mode setup, and Code Review improvements
This release adds transcript visibility for plugin hook skipping, introduces /auto-mode-setup for environment configuration, expands mod tooling with permission controls, and enhances Code Review with review levels and organization-wide repository scanning. Multiple changes improve plugin behavior, skill management, and VSCode integration.
Bug fixes and reliability improvements
This release includes bug fixes and reliability improvements to enhance overall product stability and performance.
2.1.302 — Model selection, idle compaction control, and session improvements
Added configuration options for auto mode model selection and idle compaction control, plus a banner showing why cloud session runs didn't start. Enhanced subagent handling, session management, and Claude Tag admin settings organization.