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
+28-2
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,13 @@ By default, {% data variables.product.prodname_copilot_short %} code completion
52
52
</details>
53
53
54
54
> [!NOTE]
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
-
> * 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.
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
+
57
+
{% vscode %} You can switch AI models in the latest releases of {% data variables.product.prodname_vscode_shortname %} with the latest version of the {% data variables.product.prodname_copilot %} extension. {% endvscode %}
58
+
59
+
{% visualstudio %} You can switch AI models in {% data variables.product.prodname_vs %} 17.14 Preview 2 and later. {% endvisualstudio %}
60
+
61
+
{% jetbrains %} You can switch AI models in the latest releases of JetBrains IDEs with the latest version of the {% data variables.product.prodname_copilot %} extension. {% endjetbrains %}
57
62
58
63
## Effects of switching the AI model
59
64
@@ -75,6 +80,27 @@ If you have a {% data variables.product.prodname_copilot_free_short %} or {% dat
75
80
76
81
{% data reusables.copilot.editor-preview-settings %}
77
82
83
+
{% vscode %}
84
+
85
+
## Changing the AI model for code completion
86
+
87
+
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.
88
+
89
+
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).
90
+
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
91
+
1. In the dropdown menu, select the model you want to use.
92
+
93
+
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.
94
+
95
+
## Checking which model is being used
96
+
97
+
1. Open the Settings editor by pressing <kbd>Ctrl</kbd>+<kbd>,</kbd> (Linux/Windows) / <kbd>Command</kbd>+<kbd>,</kbd> (Mac).
98
+
1. Type `copilot completion` and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.
99
+
100
+
The field in this section displays the currently selected model. If the field is empty, the default model is being used.
0 commit comments