Skip to content

Commit a564cb9

Browse files
authored
Copilot: reinstate JetBrains info for the code completion model switcher (#54465)
1 parent d65dab9 commit a564cb9

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ By default, {% data variables.product.prodname_copilot_short %} code completion
1414

1515
> [!NOTE]
1616
> * 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.
1818
1919
## Effects of switching the AI model
2020

@@ -36,8 +36,12 @@ If you have a {% data variables.product.prodname_copilot_free_short %} or {% dat
3636

3737
{% data reusables.copilot.editor-preview-settings %}
3838

39+
{% vscode %}
40+
3941
## Changing the AI model for code completion
4042

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+
4145
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).
4246
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
4347
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
5054
1. Type `copilot completion` and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.
5155

5256
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.
69+
1. Click **OK**.
70+
71+
{% endjetbrains %}

0 commit comments

Comments
 (0)