{"version":"2.1.182","anchor":"legacy-model-remapping-clearer-warning-and-opt-out","canonical_anchor":"legacy-model-remapping-clearer-warning-and-opt-out","heading":"Legacy Model Remapping \u2014 Clearer Warning and Opt-Out","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.182\/e\/legacy-model-remapping-clearer-warning-and-opt-out","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.182","markdown":"### Legacy Model Remapping \u2014 Clearer Warning and Opt-Out\n\nWhen Claude Code automatically remaps a deprecated model ID to a current one, the warning now includes the model name being used and mentions the opt-out env var:\n\nBefore: `\u26a0 Claude Opus 4.7 has been updated to claude-opus-4-8.`\n\nAfter: `\u26a0 claude-opus-4-7 is automatically remapped to Claude Opus 4.8 (claude-opus-4-8). Set CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP=1 to keep the requested model.`\n\nAlso, the status-line model indicator now shows the same opt-out hint in shortened form: `\u26a0 Opus 4.7 remaps to Claude Opus 4.8. CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP=1 opts out`.\n\n**Evidence**\n\nModified `DCo()` and new `lzn()` functions \u2014 search for `\"is automatically remapped to\"` and `\"CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP=1 opts out\"`"}