Tag
Claude Code has a mechanism for users in China that activates when the ANTHROPIC_BASE_URL environment variable is set, allowing the use of local models.
The user points out that leaving the ANTHROPIC_BASE_URL environment variable empty can bypass the detection logic, which is a code-level vulnerability or design flaw.