modelPicker

settings.json型object記述場所ユーザー設定または管理者設定

/model ピッカーが提供するモデルリストを、順序付けられたラベル付きのカスタムリストで置換または追加します。

既定値unset, so the picker shows the built-in lineup

記述例

{
  "modelPicker": {
    "options": [
      { "model": "us.anthropic.claude-opus-4-8", "label": "Opus (production)" },
      {
        "model": "us.anthropic.claude-sonnet-4-6",
        "label": "Sonnet (production)",
        "description": "Day-to-day work"
      }
    ]
  }
}

使い方・用途

  • デフォルト値は未設定(組み込みリストが表示されます)
  • v2.1.242 以降で利用可能
  • Vertex/Bedrock ID を含む任意の ID 表記を組み込みリストに追加または置換できます
  • 管理設定で優先されます
英語原文

List the models the /model picker offers, in the order you write them and under labels you choose, so the picker lists the models your organization runs, after the built-in lineup or instead of it. Each row's model is taken verbatim, so it accepts anything --model accepts: an alias such as opus, an Anthropic model ID, or a provider-format ID for Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, or an LLM gateway. Requires Claude Code v2.1.242 or later.

関連する変更履歴

v2.1.295(1件)

Claude アプリゲートウェイにサインインしたセッションで、availableModels に列挙された Fable モデルが /model ピッカーに表示されない問題を修正し、該当モデルには同じモデルのために追加された modelPicker 行の代わりに組み込み行を表示するようにした
英語原文を表示
Fixed Fable models listed in availableModels not appearing in the /model picker for sessions signed in to a Claude apps gateway; such a model now shows its built-in row in place of a modelPicker row added for the same model

v2.1.243(1件)

modelPicker 設定を追加した。順序付きのラベル付きモデルリスト(Vertex/Bedrock の ID を含む任意の ID 表記が可能)で /model のピッカーを整理でき、組み込みのラインナップに追加するか、置き換えるかを選べる。
英語原文を表示
Added modelPicker setting: curate the /model picker with an ordered, labeled list of models (any id spelling, including Vertex/Bedrock ids), appended to or replacing the built-in lineup

変更後

/model のモデル選択画面に、任意の順序とラベルを付けたモデル一覧を設定できるようになる。Vertex や Bedrock 形式を含むあらゆるモデル ID を指定でき、組織が実際に利用するモデルだけを選びやすくなる。

v2.1.153(1件)

キーバインド設定で modelPicker:setAsDefault をカスタマイズしていた場合、modelPicker:thisSessionOnly への書き換えが必要です(d アクションが s に置き換わったため)
英語原文を表示
If you customized the modelPicker:setAsDefault keybinding, rename it to modelPicker:thisSessionOnly in keybindings.json (the d action was replaced by s)

変更後

内部的な仕様変更を把握でき、スムーズに新バージョンへ移行できます。

関連ドキュメント