You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion.md
+9-18Lines changed: 9 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ topics:
10
10
11
11
## Overview
12
12
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.
14
14
15
15
<details>
16
16
<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
53
53
54
54
> [!NOTE]
55
55
> * 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.
57
57
58
58
## Effects of switching the AI model
59
59
@@ -75,32 +75,23 @@ If you have a {% data variables.product.prodname_copilot_free_short %} or {% dat
75
75
76
76
{% data reusables.copilot.editor-preview-settings %}
77
77
78
-
{% vscode %}
78
+
{% visualstudio %}
79
79
80
80
## Changing the AI model for code completion
81
81
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.
83
83
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.
87
87
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 %}
98
89
99
90
{% jetbrains %}
100
91
101
92
## Changing the AI model for code completion
102
93
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.
104
95
105
96
1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the status bar.
106
97
1. In the popup menu, click **Edit Model for Completion**.
0 commit comments