Back
AI summary
Written by AI from the official notes. Check them for exact details.A bug affecting gateway and proxy setups has been fixed in Claude Code 2.1.266.
- Fixed regression affecting LLM-gateway and proxy setups
CLAUDE_CODE_USE_GATEWAYvariable now ignored alone- No configuration changes needed for users
Why it matters: Users relying on gateway and proxy setups should update to avoid sign-in issues.
Full release notes
What's changed
- 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