Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.260 ·

API client now sends anthropic-beta custom header value only when a flag is on

A custom anthropic-beta header can be forwarded, but only once a gate is enabled.

Under the hood Nothing to try yet In Development
JSON All of v2.1.260
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
API ConfigurationArea: what it touches
In DevelopmentKind: in v2.1.260,
In DevelopmentSection of the release

Outgoing Anthropic API requests now merge in a header set from a new Cv() function, which forwards a custom anthropic-beta header from ANTHROPIC_CUSTOM_HEADERS only with its value stripped, and only when a gate is enabled; otherwise it returns an empty object. This matches the existing behavior of stripping custom Authorization headers.

Read from
Names in the bundleANTHROPIC_CUSTOM_HEADERS
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Configure server-managed settings touched a line naming ANTHROPIC_CUSTOM_HEADERS after this was published. Whether [`ANTHROPIC_CUSTOM_HEADERS`](/docs/en/env-vars#variables) needs approval also depends on the delivered value. Headers that only tag requests, such as `Accept-Language`, apply without the dialog. A line that names a credential, an o… server-managed-settings see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_CUSTOM_HEADERS, on Connect Claude Code to an LLM gateway. * **Amazon Bedrock, Google Cloud's Agent Platform, or Claude Platform on AWS**: add `ANTHROPIC_AUTH_TOKEN` after the block. Claude Code sends it to the gateway as an `Authorization: Bearer` header. For a credential in a different scheme or… llm-gateway-connect see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_CUSTOM_HEADERS, on Connect Claude Code to an LLM gateway.

See this entry in the whole of v2.1.260 →

Feedback