You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
Unclear It is not stated under what condition the model value is removed, so you cannot tell whether yours will be ignored.
What
CLAUDE_CODE_EXTRA_BODY is an environment variable holding a JSON object that Claude Code merges into every request it sends. After reading it, Claude Code now deletes any model value from it when a certain check passes. It already deleted speed under a different condition.
Why
If you set a model through CLAUDE_CODE_EXTRA_BODY, it may now be ignored.