Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Handling of four kinds of API error now depends on whether the session is remote

For rate limits, missing request tokens, server errors and unknown models, Claude Code now sets its handling by CLAUDE_CODE_REMOTE

Under the hood Internal Changes
JSON All of v2.1.326
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release

Unclear What the mode does for these errors, such as whether it retries or resumes, is not shown.

What

Claude Code picks a mode for each kind of error the API can return. For these kinds, the mode is now on when the CLAUDE_CODE_REMOTE environment variable is set and off when it is not:

  • rate_limit
  • no_request_token
  • server_error
  • model_not_found

Before, these modes came from settings Claude Code fetched from Anthropic's servers. All other errors still use a looked-up value.

Why

Remote and local sessions now handle these errors differently, and the handling no longer changes with settings sent from the server.

Read from
Names in the bundleCLAUDE_CODE_REMOTE
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.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_REMOTE, on Claude Code changelog. * Self-hosted runner: Changed `CLAUDE_RUNNER_SESSION_UUID` and `CLAUDE_CODE_REMOTE_SESSION_UUID` to both be set for the session and its `checkout`, `post-session` and `spawn-runner` hooks changelog see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat the mode does for these errors, such as whether it retries or resumes, is not shown.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_REMOTE, on Claude Code changelog.

See this entry in the whole of v2.1.326 →

Feedback