{"version":"2.1.330","anchor":"env-var-passthrough-for-provider-settings-in-mods","canonical_anchor":"env-var-passthrough-for-provider-settings-in-mods","heading":"Mod environment checks now cover model provider variables","tier":"internal","area":"Mods","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/env-var-passthrough-for-provider-settings-in-mods","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Mod environment checks now cover model provider variables\n\nThe environment variable check for mods now also covers provider variables such as `CLAUDE_CODE_USE_BEDROCK` and `ANTHROPIC_BASE_URL`\n\n**Unclear.** It is unclear whether these provider variables are now blocked from mods or passed through to them.\n\n**What**\n\nClaude Code checks which environment variables (settings passed to a program through its environment) a mod deals with. That check now also covers variables that choose or route the model provider, the service that answers Claude's requests. Examples include `CLAUDE_CODE_USE_BEDROCK` and `ANTHROPIC_BASE_URL`.\n\nBefore, the check was a single match against one list of names, ignoring upper and lower case.\n\n**Why**\n\nThis likely keeps mods from reading or overriding where Claude's requests are sent.\n\n- Area: Mods\n- Names: `CLAUDE_CODE_USE_BEDROCK`, `ANTHROPIC_BASE_URL`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}