Skip to content

Commit 48238d2

Browse files
Moving auto model supported models to a yml reference table (#60733)
Co-authored-by: Sarah Schneider <sarahs@github.com>
1 parent 948e815 commit 48238d2

File tree

4 files changed

+97
-11
lines changed

4 files changed

+97
-11
lines changed

content/copilot/concepts/auto-model-selection.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,7 @@ Experience less rate limiting and reduce the mental load of choosing a model by
3838
* Eclipse
3939
* Xcode
4040

41-
When you select **Auto** in {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} may choose from the following list of models, subject to your policies and subscription type. Models may change over time.
42-
* {% data variables.copilot.copilot_gpt_41 %}
43-
* {% data variables.copilot.copilot_gpt_53_codex %}
44-
* {% data variables.copilot.copilot_gpt_54 %}
45-
* {% data variables.copilot.copilot_gpt_54_mini %}
46-
* {% data variables.copilot.copilot_claude_haiku_45 %}
47-
* {% data variables.copilot.copilot_claude_sonnet_46 %}
48-
* {% data variables.copilot.copilot_grok_code %}
49-
* {% data variables.copilot.copilot_raptor_mini %}
41+
When you select **Auto** in {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported models, subject to your policies and subscription type. Models may change over time. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection).
5042

5143
> [!TIP] To see which model was used for each response, hover over the response in {% data variables.copilot.copilot_chat_short %}.
5244
@@ -62,8 +54,7 @@ During the {% data variables.release-phases.public_preview %}, if you're using a
6254

6355
## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_cloud_agent %}
6456

65-
When you select **Auto** in {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} currently chooses from the following list of models, subject to your policies and subscription type:
66-
{% data reusables.copilot.copilot-cloud-agent-auto-models %}
57+
When you select **Auto** in {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported list of models, subject to your policies and subscription type. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection).
6758

6859
{% data reusables.copilot.change-the-ai-model-copilot-cloud-agent %}
6960

content/copilot/reference/ai-models/supported-models.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ This table lists the AI models available in {% data variables.product.prodname_c
4545

4646
{% endrowheaders %}
4747

48+
## Supported AI models in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}
49+
50+
This table lists the AI models available in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}.
51+
52+
{% rowheaders %}
53+
54+
| Model | {% data variables.copilot.copilot_cloud_agent %} | {% data variables.copilot.copilot_chat_short %} |
55+
| --- | --- | --- |
56+
| {% for model in tables.copilot.auto-model-selection %} |
57+
| {{ model.name }} | {% if model.cloud_agent == true %}{% octicon "check" aria-label="Included" %}{% else %}{% octicon "x" aria-label="Not included" %}{% endif %} | {% if model.chat == true %}{% octicon "check" aria-label="Included" %}{% else %}{% octicon "x" aria-label="Not included" %}{% endif %} |
58+
| {% endfor %} |
59+
60+
{% endrowheaders %}
61+
4862
## Model retirement history
4963

5064
The following table lists AI models that are retired or scheduled for retirement from {% data variables.product.prodname_copilot_short %}, along with their retirement dates and suggested alternatives.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Please keep this list sorted in the following order:
2+
# 1. By provider, in this order:
3+
# - OpenAI
4+
# - Anthropic
5+
# - Google
6+
# - xAI
7+
# - others
8+
# 2. Within each provider group, alphabetically by model name.
9+
#
10+
# This file defines which AI models are available for Copilot cloud agent
11+
# and Copilot Chat.
12+
# It is used to generate the model availability table.
13+
#
14+
# Column keys:
15+
# - name: The model name.
16+
# - cloud_agent: Availability for Copilot cloud agent.
17+
# - chat: Availability for Copilot Chat.
18+
19+
# OpenAI
20+
- name: GPT-4.1
21+
cloud_agent: false
22+
chat: true
23+
24+
- name: GPT-5.3-Codex
25+
cloud_agent: false
26+
chat: true
27+
28+
- name: GPT-5.4
29+
cloud_agent: false
30+
chat: true
31+
32+
- name: GPT-5.4 mini
33+
cloud_agent: false
34+
chat: true
35+
36+
# Anthropic
37+
- name: Claude Haiku 4.5
38+
cloud_agent: false
39+
chat: true
40+
41+
- name: Claude Sonnet 4.5
42+
cloud_agent: true
43+
chat: false
44+
45+
- name: Claude Sonnet 4.6
46+
cloud_agent: false
47+
chat: true
48+
49+
# xAI
50+
- name: Grok Code Fast 1
51+
cloud_agent: false
52+
chat: true
53+
54+
# Fine-tuned OAI models
55+
- name: Raptor mini
56+
cloud_agent: false
57+
chat: true
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// This schema enforces the structure in auto-model-selection.yml
2+
3+
const autoModelSelectionSchema = {
4+
type: 'array',
5+
items: {
6+
type: 'object',
7+
additionalProperties: false,
8+
required: ['name', 'cloud_agent', 'chat'],
9+
properties: {
10+
name: {
11+
type: 'string',
12+
lintable: true,
13+
},
14+
cloud_agent: {
15+
type: 'boolean',
16+
},
17+
chat: {
18+
type: 'boolean',
19+
},
20+
},
21+
},
22+
}
23+
24+
export default autoModelSelectionSchema

0 commit comments

Comments
 (0)