{"version":"2.1.268","anchor":"plan-mode-model-clamp-warning-routed-through-a-return-value","canonical_anchor":"plan-mode-model-clamp-warning-routed-through-a-return-value","heading":"Plan-mode model clamp warning routed through a return value instead of an inline call","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268\/e\/plan-mode-model-clamp-warning-routed-through-a-return-value","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268","markdown":"### Plan-mode model clamp warning routed through a return value instead of an inline call\n\nPlan-mode model-clamp warning is now returned as data instead of logged directly\n\n**What**\n\nThe internal logic that clamps (restricts) which model can be used in plan mode now returns the chosen model along with a `clampWarning` value, instead of directly issuing the warning itself. The calling code is now responsible for deduplicating and logging that warning.\n\n**Why**\n\nThis is an internal restructuring of how the clamp warning is delivered; it doesn't change what a user sees, but centralizes where the warning is logged.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}