Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Gateway model discovery explains why it skipped, and can use apiKeyHelper

Use it now
Useful3 Signal3
Model Config Notable

Gateway model discovery can authenticate with apiKeyHelper and logs why it skipped.

CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERYANTHROPIC_BASE_URLapiKeyHelper
What

The optional pass that asks a custom ANTHROPIC_BASE_URL for its /v1/models list now logs a reason for every skip instead of silently doing nothing, and can authenticate with your apiKeyHelper command in addition to ANTHROPIC_AUTH_TOKEN or an API key. The helper is only run in a trusted workspace. The whole feature still requires CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY.

Details
  • Skip reasons cover nonessential traffic being disabled, unsuitable provider or base URL, and having no credential at all.
  • In an untrusted workspace it logs [gatewayDiscovery] skipped: apiKeyHelper requires workspace trust.
  • ANTHROPIC_CUSTOM_HEADERS now overrides the built-in Authorization, x-api-key and User-Agent headers case-insensitively, rather than being merged after them.
  • Errors are separated into "skipped:" and "failed:" and redacted before logging.
Evidence

[gatewayDiscovery] skipped: apiKeyHelper requires workspace trust

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.248 →