Skip to content

Commit 6b0553c

Browse files
authored
GPT-4o Copilot (Codex V2) code completion model [GA] (#55023)
1 parent 93a1d16 commit 6b0553c

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ topics:
1010

1111
## Overview
1212

13-
By default, {% data variables.product.prodname_copilot_short %} code completion uses the GPT 3.5 Turbo large language model (LLM). As an alternative, you can choose to use a model based on GPT 4o-mini. This model has been trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. Its knowledge base is more current than the default model and you may find that it generates completion suggestions more quickly.
13+
By default, {% data variables.product.prodname_copilot_short %} code completion uses the GPT-4o {% data variables.product.prodname_copilot_short %}, a fine-tuned GPT-4o mini based large language model (LLM). This model has been trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. Its knowledge base is more current than the default model and you may find that it generates completion suggestions more quickly.
1414

1515
<details>
1616
<summary>View the list of programming languages and technologies included in the training data.</summary>
@@ -53,7 +53,7 @@ By default, {% data variables.product.prodname_copilot_short %} code completion
5353

5454
> [!NOTE]
5555
> * Multiple model support for {% data variables.product.prodname_copilot_short %} code completion is in {% data variables.release-phases.public_preview %} and is subject to change.
56-
> * Currently the ability to switch AI model is available in the latest releases of {% data variables.product.prodname_vscode_shortname %} and JetBrains IDEs, with the latest version of the {% data variables.product.prodname_copilot %} extension.
56+
> * You can switch AI models in {% data variables.product.prodname_vs %} 17.14 Preview 2 and later, and in the latest JetBrains IDEs, with the latest version of the {% data variables.product.prodname_copilot %} extension.
5757
5858
## Effects of switching the AI model
5959

@@ -75,32 +75,23 @@ If you have a {% data variables.product.prodname_copilot_free_short %} or {% dat
7575

7676
{% data reusables.copilot.editor-preview-settings %}
7777

78-
{% vscode %}
78+
{% visualstudio %}
7979

8080
## Changing the AI model for code completion
8181

82-
The following instructions are for {% data variables.product.prodname_vscode_shortname %}. If you are using a JetBrains IDE, click the appropriate tab at the start of this article.
82+
The following instructions are for {% data variables.product.prodname_vs %}. If you are using a JetBrains IDE, click the appropriate tab at the start of this article.
8383

84-
1. Open the command palette by pressing <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux) / <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Mac).
85-
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
86-
1. In the dropdown menu, select the model you want to use.
84+
1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the top right corner.
85+
1. Click **Settings**, then click **Options**.
86+
1. Under **{% data variables.product.prodname_copilot_short %} Completions**, use the dropdown menu to select the model you want to use.
8787

88-
Alternatively, if Command Center is enabled, you can click {% octicon "chevron-down" aria-label="The downward-pointing arrowhead" %} beside the **{% octicon "copilot" aria-hidden="true" %}** icon at the top of the {% data variables.product.prodname_vscode_shortname %} window, then click **Configure Code Completions** in the dropdown menu. Then choose **Change Completions Model** in the dropdown menu and select the model you want to use.
89-
90-
## Checking which model is being used
91-
92-
1. Open the Settings editor by pressing <kbd>Ctrl</kbd>+<kbd>,</kbd> (Linux/Windows) / <kbd>Command</kbd>+<kbd>,</kbd> (Mac).
93-
1. Type `copilot completion` and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.
94-
95-
The field in this section displays the currently selected model. If the field is empty, the default model is being used.
96-
97-
{% endvscode %}
88+
{% endvisualstudio %}
9889

9990
{% jetbrains %}
10091

10192
## Changing the AI model for code completion
10293

103-
The following instructions are for JetBrains IDEs. If you are using {% data variables.product.prodname_vscode_shortname %}, click the appropriate tab at the start of this article.
94+
The following instructions are for JetBrains IDEs. If you are using {% data variables.product.prodname_vs %}, click the appropriate tab at the start of this article.
10495

10596
1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the status bar.
10697
1. In the popup menu, click **Edit Model for Completion**.

0 commit comments

Comments
 (0)