{"version":"2.1.296","anchor":"prompt-hooks-always-use-the-default-small-model","canonical_anchor":"prompt-hooks-always-use-the-default-small-model","heading":"Prompt hooks no longer pick the main model on gateway setups","tier":"notice","area":"Hooks","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296\/e\/prompt-hooks-always-use-the-default-small-model","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296","markdown":"### Prompt hooks no longer pick the main model on gateway setups\n\nPrompt hooks now use their own configured model or the default small model, without a gateway special case\n\n**Unclear.** It is not settled whether gateway setups without `ANTHROPIC_DEFAULT_HAIKU_MODEL` or `ANTHROPIC_SMALL_FAST_MODEL` still get the main model for prompt hooks by another route.\n\n**What**\n\nA prompt hook is a hook, an action you set up to run at certain points, that asks a model to judge something. It uses the model named in the hook, or otherwise a default small model.\n\nThe special case that used the main model instead, when Claude Code ran through a gateway and neither `ANTHROPIC_DEFAULT_HAIKU_MODEL` nor `ANTHROPIC_SMALL_FAST_MODEL` was set, has been removed from this choice.\n\n**Why**\n\nOn gateway setups, the model your prompt hooks query may be different from before.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: yes"}