{"version":"2.1.251","anchor":"switch-confirmation-can-show-a-hook-s-own-reason","canonical_anchor":"switch-confirmation-can-show-a-hook-s-own-reason","heading":"Switch confirmation can show a hook's own reason","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251\/e\/switch-confirmation-can-show-a-hook-s-own-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251","markdown":"### Switch confirmation can show a hook's own reason\n\nModel and effort switch dialogs can show that a PreModelSwitch hook asked you to confirm.\n\n**What**\n\nThe \"Switch model?\" and \"Change effort level?\" dialogs now show a hook-supplied message, \"A PreModelSwitch hook asked you to confirm\", in place of the usual prompt-caching warning.\n\n**Details**\n\n- Only when a hook supplies a reason; otherwise the caching-warning text is shown as before.\n\n**Evidence**\n\n`A PreModelSwitch hook asked you to confirm`\n\n- Area: Hooks\n- Names: `PreModelSwitch`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}