Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Hook credit errors name CLAUDE_CODE_NO_MODEL_FALLBACK only when it matters

When a hook needs usage credits, the error names CLAUDE_CODE_NO_MODEL_FALLBACK only if it is set and relevant, and suggests unsetting it

You'll notice No documentation found Improvements
JSON All of v2.1.331
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.

Read from

See this entry in the whole of v2.1.331 →

Feedback