CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE

Updated by

CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE is a Claude Code environment variable: Set to 1, it turns off the resend that strips earlier thinking from a request after a gateway returns an unknown 400 or 422.[1]. Added in v2.1.334 and still present in v2.1.334. It is listed in the official reference.

StatusPresent in v2.1.334
AddedAdded in v2.1.334
CategoryModels and thinking
Official docsListed

How to set it

For one session, export it in the shell that starts Claude Code:

export CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=<value>
claude

To apply it to every session, add it to the env object of a settings file:

// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE": "<value>"
  }
}

Release notes that mention it

Related variables

Frequently asked questions

What does CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE do?

Set to 1, it turns off the resend that strips earlier thinking from a request after a gateway returns an unknown 400 or 422.[1]

Which Claude Code version has CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE?

Added in v2.1.334 and still present in v2.1.334.

How do I set CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE?

Export it before starting Claude Code (export CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.

All variables, searchable: Claude Code environment variables.