You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
What
A hook is a small program you set up to run at set moments in Claude Code. When a hook needs usage credits, the error now mentions CLAUDE_CODE_NO_MODEL_FALLBACK only when that variable is set and applies to the hook, and in that case suggests you unset it. Before, the message mentioned the variable whenever it was set.
Why
The error points to the variable only when it is the cause, and tells you what to do about it.