{"version":"2.1.331","anchor":"hook-usage-credits-error-now-names-claude-code-no-model-fall","canonical_anchor":"hook-usage-credits-error-now-names-claude-code-no-model-fall","heading":"Hook credit errors name CLAUDE_CODE_NO_MODEL_FALLBACK only when it matters","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/hook-usage-credits-error-now-names-claude-code-no-model-fall","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Hook credit errors name CLAUDE_CODE_NO_MODEL_FALLBACK only when it matters\n\nWhen a hook needs usage credits, the error names CLAUDE_CODE_NO_MODEL_FALLBACK only if it is set and relevant, and suggests unsetting it\n\n**What**\n\nA 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.\n\n**Why**\n\nThe error points to the variable only when it is the cause, and tells you what to do about it.\n\n- Area: Hooks\n- Names: `CLAUDE_CODE_NO_MODEL_FALLBACK`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}