Skip to main content
Skip to content

Changing the AI model for GitHub Copilot inline suggestions

Learn how to change the default LLM for Copilot inline suggestions to a different model.

The following instructions are for VS Code. If you are using Visual Studio, or a JetBrains IDE, click the appropriate tab at the start of this article.

Prerequisites

Copilot のインライン候補に使用される AI モデルは、次の条件が満たされる場合に切り替えることができます。

  • 代替モデルが現在使用できる
  • VS Code 拡張機能の最新バージョンをインストールした GitHub Copilot の最新リリースを使用している

メモ

利用できるモデルの一覧は、時間が経つと変わります。 インライン提案モデルが 1 つしか使用できない場合、モデル ピッカーにはそのモデルのみが表示されます。 プレビュー モデルと追加のインライン提案モデルは、使用可能になるとピッカーに追加されます。

For more information, see IDEでGitHub Copilotによるコード提案.

Changing the AI model for inline suggestions

  1. Open the command palette by pressing Ctrl+Shift+P (Windows/Linux) / Command+Shift+P (Mac).
  2. Type change completions model and select the "GitHub Copilot: Change Completions Model" command.
  3. In the dropdown menu, select the model you want to use.

Checking which model is being used

  1. Open the Settings editor by pressing Ctrl+, (Linux/Windows) / Command+, (Mac).

  2. Type copilot completion and look for the "GitHub > Copilot: Selected Completion Model" section.

    The field in this section displays the currently selected model. If the field is empty, the default model is being used.

The following instructions are for Visual Studio. If you are using VS Code, or a JetBrains IDE, click the appropriate tab at the start of this article.

Prerequisites

Copilot のインライン候補に使用される AI モデルは、次の条件が満たされる場合に切り替えることができます。

  • 代替モデルが現在使用できる
  • Visual Studio 17.14 プレビュー 2 以降を使用している

メモ

利用できるモデルの一覧は、時間が経つと変わります。 インライン提案モデルが 1 つしか使用できない場合、モデル ピッカーにはそのモデルのみが表示されます。 プレビュー モデルと追加のインライン提案モデルは、使用可能になるとピッカーに追加されます。

For more information, see IDEでGitHub Copilotによるコード提案.

Changing the AI model for inline suggestions

  1. Click the icon in the top right corner.
  2. Click Settings, then click Options.
  3. Under Copilot Completions, use the dropdown menu to select the model you want to use.

The following instructions are for JetBrains IDEs. If you are using Visual Studio, or VS Code, click the appropriate tab at the start of this article.

Prerequisites

Copilot のインライン候補に使用される AI モデルは、次の条件が満たされる場合に切り替えることができます。

  • 代替モデルが現在使用できる
  • GitHub Copilot 拡張機能の最新バージョンをインストールした JetBrains IDE の最新リリースを使用している

メモ

利用できるモデルの一覧は、時間が経つと変わります。 インライン提案モデルが 1 つしか使用できない場合、モデル ピッカーにはそのモデルのみが表示されます。 プレビュー モデルと追加のインライン提案モデルは、使用可能になるとピッカーに追加されます。

For more information, see IDEでGitHub Copilotによるコード提案.

Changing the AI model for inline suggestions

  1. In your JetBrains IDE, click the File menu (Windows) or the name of the application in the menu bar (macOS), then click Settings.
  2. 左側のサイドバーで[ツール]をクリックし、[GitHub Copilot]をクリックします。, then click Completions.
  3. Click the dropdown menu for Model for completions and select the model you want to use.
  4. Click OK.