Claude Code version 2.1.266 resolves a regression introduced in version 2.1.265 that disrupted LLM-gateway and proxy configurations.
- The undocumented CLAUDE_CODE_USE_GATEWAY environment variable previously forced Cloud-gateway sign-in even when an API key or custom auth headers were present, causing requests to fail with "Not signed in to the Cloud gateway".
- In this update, the variable is ignored on its own again, restoring compatibility for configurations that set it alongside apiKeyHelper or custom auth headers without requiring changes.