環境変数
CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP
1に設定すると、Opus 4.0/4.1から最新のOpusバージョンへの自動リマッピングを停止し、意図的に古いモデルを固定できるようにします。
英語原文(公式ドキュメントより)
Set to 1 to prevent automatic remapping of Opus 4.0 and 4.1 to the current Opus version on the Anthropic API. Use when you intentionally want to pin an older model. The remap does not run on Bedrock, Vertex, or Foundry
まだ変更履歴との関連付けはありません