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/how-tos/use-ai-models/change-the-chat-model.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,47 @@ These instructions are for {% data variables.product.prodname_vscode %}. For ins
61
61
{% data reusables.copilot.chat-model-limitations-ide %}
62
62
63
63
{% data reusables.copilot.open-chat-vs-code %}
64
-
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
64
+
1. At the bottom of the chat view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
65
+
66
+
## Adding more models
67
+
68
+
You can expand the model options that are available to power {% data variables.copilot.copilot_chat_short %}. You can add models from:
69
+
70
+
***A model provider**—such as Anthropic, Gemini, OpenAI, and others.
71
+
***The AI Toolkit for {% data variables.product.prodname_vscode %}**.
72
+
73
+
> [!NOTE] Using the AI Toolkit for {% data variables.product.prodname_vscode_shortname %} is in {% data variables.release-phases.public_preview %} and subject to change.
74
+
75
+
### Prerequisites
76
+
77
+
* Depending on the provider or model you choose, you may need to supply an API key, or model ID, from the provider, or a {% data variables.product.github %} {% data variables.product.pat_generic %} (PAT).
78
+
* To add models from the AI Toolkit for {% data variables.product.prodname_vscode %}, you must <ahref="vscode:extension/ms-windows-ai-studio.windows-ai-studio">install the AI Toolkit extension</a>.
79
+
80
+
### Adding models
81
+
82
+
1. In the {% data variables.product.prodname_copilot_short %} chat view, click the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu.
83
+
1. Click **Manage Models**.
84
+
85
+

86
+
87
+
A list of providers is displayed.
88
+
89
+
If you have installed the AI Toolkit, then additional providers, added via the AI Toolkit, are also listed.
90
+
91
+

92
+
93
+
1. Click the provider whose model(s) you want to add.
94
+
1. Depending on which provider you selected, you may be prompted to enter a {% data variables.product.github %} PAT, an API key for the provider, or a model ID for a specific model.
95
+
96
+
Enter the required information, then press <kbd>Enter</kbd>.
97
+
98
+
A list of available models is displayed.
99
+
100
+
1. Select the model(s) you want to add, then click **OK**.
101
+
102
+
The models you selected are now available in the model picker in the chat view.
103
+
104
+
If you added a model from a provider via the AI Toolkit then the first time you use the model, you will be prompted to download it. You may also be prompted to authenticate with the provider.
65
105
66
106
> [!TIP] If you're already using chat with {% data variables.copilot.copilot_auto_model_selection_short %}, you'll need to start a new chat session to switch models. To start a new session, in the top right of the chat view, click {% octicon "plus" aria-label="new chat" %} new chat.
67
107
@@ -137,3 +177,9 @@ To use multi-model {% data variables.copilot.copilot_chat_short %}, you must ins
*[AI language models in VS Code](https://code.visualstudio.com/docs/copilot/language-models#_bring-your-own-language-model-key) in the {% data variables.product.prodname_vscode %} documentation.
Copy file name to clipboardExpand all lines: content/copilot/reference/ai-models/supported-models.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,11 @@ contentType: reference
25
25
26
26
Depending on your {% data variables.product.prodname_copilot_short %} plan and where you're using it—such as {% data variables.product.prodname_dotcom_the_website %} or an IDE—you may have access to different models.
27
27
28
-
>[!NOTE] Model availability is subject to change. Some models may be replaced or updated over time.
28
+
> [!NOTE]
29
+
> * Model availability is subject to change. Some models may be replaced or updated over time.
30
+
> * In {% data variables.product.prodname_vscode %} you can add more models than those that are available by default with your {% data variables.product.prodname_copilot_short %} subscription. See [AUTOTITLE](/copilot/how-tos/use-ai-models/change-the-chat-model?tool=vscode#adding-more-models).
29
31
30
-
For all AI models, input prompts and output completions run through {% data variables.product.prodname_copilot %}'s content filters for harmful, offensive, or off-topic content, and for public code matching when enabled.
32
+
For all of the default AI models, input prompts and output completions run through {% data variables.product.prodname_copilot %}'s content filters for harmful, offensive, or off-topic content, and for public code matching when enabled.
31
33
32
34
## Supported AI models in {% data variables.product.prodname_copilot_short %}
If you're using a {% data variables.copilot.copilot_business_short %}{% ifversion ghec %} or {% data variables.copilot.copilot_enterprise_short %}{% endif %} plan, the organization{% ifversion ghec %} or enterprise{% endif %} that provides your plan must enable the **Editor preview features** setting. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization){% ifversion ghec %} or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#configuring-policies-for-github-copilot){% endif %}.
1
+
If you're using a {% data variables.copilot.copilot_business_short %}or {% data variables.copilot.copilot_enterprise_short %}plan, the organizationor enterprisethat provides your plan must enable the **Editor preview features** setting. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization)or [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#configuring-policies-for-github-copilot).
0 commit comments