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
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ By default, {% data variables.product.prodname_copilot_short %} code completion
14
14
15
15
> [!NOTE]
16
16
> * 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.
17
-
> * Currently the ability to switch AI model is only available in the latest releases of {% data variables.product.prodname_vscode_shortname %}, with the latest version of the {% data variables.product.prodname_copilot %} extension.
17
+
> * 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.
18
18
19
19
## Effects of switching the AI model
20
20
@@ -36,8 +36,12 @@ If you have a {% data variables.product.prodname_copilot_free_short %} or {% dat
36
36
37
37
{% data reusables.copilot.editor-preview-settings %}
38
38
39
+
{% vscode %}
40
+
39
41
## Changing the AI model for code completion
40
42
43
+
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.
44
+
41
45
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).
42
46
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
43
47
1. In the dropdown menu, select the model you want to use.
@@ -50,3 +54,18 @@ Alternatively, if Command Center is enabled, you can click the down arrow beside
50
54
1. Type `copilot completion` and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.
51
55
52
56
The field in this section displays the currently selected model. If the field is empty, the default model is being used.
57
+
58
+
{% endvscode %}
59
+
60
+
{% jetbrains %}
61
+
62
+
## Changing the AI model for code completion
63
+
64
+
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.
65
+
66
+
1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the status bar.
67
+
1. In the popup menu, click **Edit Model for Completion**.
68
+
1. In the settings dialog box for "Languages & Frameworks > {% data variables.product.prodname_copilot %}," click the dropdown menu for **Model for completions** and select the model you want to use.
0 commit comments