Skip to content
  •  
  •  
  •  
84 changes: 45 additions & 39 deletions content/copilot/concepts/auto-model-selection.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: 'About {% data variables.product.prodname_copilot_short %} auto model selection'
title: 'About {% data variables.product.prodname_copilot_short %} {% data variables.copilot.copilot_auto_model_selection_short %}'
allowTitleToDifferFromFilename: true
shortTitle: 'Auto model selection'
intro: 'Automatically select models for {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cloud_agent %}, and third-party agents.'
intro: 'Automatically select the best model for each task.'
product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available with all {% data variables.product.prodname_copilot %} plans.'
versions:
feature: copilot
Expand All @@ -13,70 +13,76 @@ category:

## Overview

Experience less rate limiting and reduce the mental load of choosing a model by letting {% data variables.copilot.copilot_auto_model_selection %} choose the best available model on your behalf.
More than just a model picker, {% data variables.copilot.copilot_auto_model_selection_short %} is an intelligent system delivering high quality results, better reliability, and one less decision to make as the model landscape rapidly evolves.

{% data variables.copilot.copilot_auto_model_selection %} intelligently chooses models based on real time system health and model performance. You benefit from:
* Reduced rate limiting
* Lower latency and errors
* Discounted multipliers for paid plans
{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} combines two systems to provide high quality results and better reliability. One system tracks real-time system health and availability, while the other evaluates task complexity. Putting these together, {% data variables.copilot.copilot_auto_model_selection_short %} routes the task to the optimal model.

Routing occurs along natural cache boundaries to avoid additional cache related costs. Switching models mid-session has shown increased cost without ample improvements in quality.
This helps you get more value from {% data variables.product.prodname_copilot_short %} since it matches each task to the model that can solve it most efficiently. That means reserving higher-cost reasoning models for problems that truly need it, while routing straightforward tasks to faster, lower-cost models that still deliver great results.

Benefits of using {% data variables.copilot.copilot_auto_model_selection_short %} include:
* Matching each task to the model that can solve it most efficiently.
* Model choice based on real-time system health and availability.
* Language invariance: Routing decisions depend on what you are trying to do, not what language you're asking in.
* Improved cost efficiency due to intelligent task routing.

### Policies and availability

When you select **Auto**, {% data variables.copilot.copilot_auto_model_selection_short %} chooses from supported models, subject to your policies and subscription type. Available models may change over time. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection).

{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} **won't** include these models:
* Models not available in your plan.
* Models excluded by administrator policies. See [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-access-to-ai-models).
* Models with premium request multipliers greater than one. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#model-multipliers).
* Models not available in your plan. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-per-copilot-plan).

> [!NOTE] Soon {% data variables.copilot.copilot_auto_model_selection %} will choose the best model for you based on your task.
* Models excluded by policies restricting {% data variables.product.prodname_copilot_short %} to data-resident or FedRAMP-compliant models.
* Models with premium request multipliers greater than one.

### Multiplier discounts

{% data reusables.copilot.auto-model-multiplier-discount %} See [AUTOTITLE](/copilot/concepts/billing/copilot-requests#model-multipliers).

## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_chat_short %}
## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_copilot_short %}

{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is generally available in the following IDEs:
* {% data variables.product.prodname_vscode_shortname %}
* JetBrains IDEs
{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available in these {% data variables.product.prodname_copilot_short %} products:
* {% data variables.copilot.copilot_chat_short %}
* {% data variables.copilot.copilot_cli_short %}
* {% data variables.copilot.copilot_cloud_agent %}

{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is in public preview for the following IDEs:
* {% data variables.product.prodname_vs %}
* Eclipse
* Xcode
> [!TIP]
> You can see which model was used for each {% data variables.product.prodname_copilot_short %} response.
> * In **{% data variables.copilot.copilot_chat_short %}**, hover over the response.
> * In **{% data variables.copilot.copilot_cli_short %}**, the model used for each response displays in the terminal.
> * In **{% data variables.copilot.copilot_cloud_agent %}**, the model used for each response displays at the end of the response.

When you select **Auto** in {% data variables.copilot.copilot_chat_short %} in IDEs, {% 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).
### {% data variables.copilot.copilot_chat_short %} in IDEs

> [!TIP] To see which model was used for each response, hover over the response in {% data variables.copilot.copilot_chat_short %} in IDEs.
{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} with task selection is in public preview in the following IDEs:
* {% data variables.product.prodname_vscode_shortname %}

{% data reusables.copilot.change-the-ai-model %}
{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} (without task selection) is available in the following IDEs:
* JetBrains IDEs
* Eclipse
* Xcode
* {% data variables.product.prodname_vs %}

### Enabling access during {% data variables.release-phases.public_preview %}
#### Enabling access during {% data variables.release-phases.public_preview %}

During the {% data variables.release-phases.public_preview %}, if you're using a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} plan, the organization or enterprise that provides your plan must have the **Editor preview features** policy enabled. 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](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#copilot-in-githubcom).

## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_cli %}

When you select **Auto** from the list of available models in {% data variables.copilot.copilot_cli %}, {% 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).

When using Auto, the model used for each response displays in the terminal.

{% data reusables.copilot.change-the-ai-model %}

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

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).
## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in third-party agents

{% data reusables.copilot.change-the-ai-model-copilot-cloud-agent %}
When you select **Auto** in the {% data variables.product.prodname_openai_codex %} or {% data variables.product.prodname_anthropic_claude %} coding agents, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported list of models, subject to your policies and subscription type.

## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_openai_codex %}
### {% data variables.product.prodname_openai_codex %} supported models

When you select **Auto** in the {% data variables.product.prodname_openai_codex %} coding 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:
These models are available for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in the {% data variables.product.prodname_openai_codex %} coding agent.

{% data reusables.copilot.openai-codex-agent-models %}

For more information, see [AUTOTITLE](/copilot/concepts/agents/openai-codex).

## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_anthropic_claude %}
### {% data variables.product.prodname_anthropic_claude %} supported models

When you select **Auto** in the {% data variables.product.prodname_anthropic_claude %} coding 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:
These models are available for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in the {% data variables.product.prodname_anthropic_claude %} coding agent.

{% data reusables.copilot.anthropic-claude-agent-models %}

Expand Down
5 changes: 1 addition & 4 deletions content/copilot/reference/ai-models/supported-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

## Supported AI models in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}

This table lists the supported AI models for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. Available models may be limited by model policies, including policies restricting {% data variables.product.prodname_copilot_short %} to data-resident or FedRAMP-compliant models.
This table lists the supported AI models for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. Available models may be limited by model policies. See [AUTOTITLE](/copilot/concepts/auto-model-selection).

{% rowheaders %}

Expand Down Expand Up @@ -77,9 +77,6 @@

The following table shows which models are available in each client.

> [!NOTE]
> {% data reusables.copilot.auto-model-selection %}

{% rowheaders %}

| Model | {% data variables.product.prodname_dotcom_the_website %} | {% data variables.copilot.copilot_cli_short %} | {% data variables.product.prodname_vscode %} | {% data variables.product.prodname_vs %} | Eclipse | Xcode | JetBrains IDEs |
Expand Down Expand Up @@ -125,7 +122,7 @@

## Model multipliers

<!-- expires 2026-06-01 -->

Check warning on line 125 in content/copilot/reference/ai-models/supported-models.md

View workflow job for this annotation

GitHub Actions / lint-content

Content that expires soon should be proactively addressed.

Content marked with an expiration date will expire soon. The content exists between 2 HTML comment tags in the format <!-- expires yyyy-mm-dd --> and <!-- end expires yyyy-mm-dd -->. Check whether this content can be removed or rewritten before it expires.

{% data reusables.copilot.ubb-announcement-cfi-cb-ce %}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Cloning an issue
intro: 'To quickly create a similar issue, you can clone an existing open issue into the same repository or a different one.'
versions:
feature: duplicating-an-issue
shortTitle: Clone an issue
redirect_from:
- /issues/tracking-your-work-with-issues/administering-issues/duplicating-an-issue
category:
- Create and work with issues
---

To clone an open issue, you must have triage access to the repository that contains the original issue and to the destination repository. The destination repository must allow blank issues. See [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization).

When you clone an issue, a new issue is created with the original issue's title, description, assignees, type, labels, milestones, and projects prefilled, as long as those fields exist or are available in the destination repository. Labels and milestones are retained if they are present in the target repository, with labels matching by name and milestones matching by both name and due date. The original issue remains unchanged.

People or teams mentioned in the original issue will not receive notifications about the cloning. The new issue will have its own URL and can be edited before being created. If you attempt to clone an issue to a repository where you do not have triage access, the option will not be available.

## Cloning an open issue

{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-issues %}

1. In the list of issues, click the issue you'd like to clone.
1. In the right sidebar, click **Clone issue**.
1. In the **Choose a repository** dropdown, select the destination repository. You can choose the same repository or a different one.
1. Edit the prefilled issue details as needed.
1. Click **Create issue**.

## Further reading

* [AUTOTITLE](/issues/tracking-your-work-with-issues/about-issues)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ children:
- /transferring-an-issue-to-another-repository
- /closing-an-issue
- /deleting-an-issue
- /duplicating-an-issue
- /cloning-an-issue
---
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ Optionally, you can require a merge type of merge, squash, or rebase. This means

#### Required reviewers

Optionally, you can require review or approval from specific teams when a pull request changes certain files or directories. You can specify up to 15 different teams, and for each team you can require a certain number of approvals from team members.
Optionally, you can require review or approval from specific teams when a pull request changes certain files or directories. You can specify up to 15 different teams, and for each team you can require a certain number of approvals from team members. For an approval from a team member to count, the team must have write permissions (or higher) for the repository.

The **Reviewer** dropdown allows you to select any team which is in scope where the rule is being defined.
The **Reviewer** dropdown allows you to select any team which is in scope where the rule is being defined.

* **Organization-wide rules**: The team must belong to the organization.
* **Repository-level rules**: The team must belong to the organization that owns the repository.
Expand Down
11 changes: 11 additions & 0 deletions content/rest/code-quality/code-quality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: REST API endpoints for code quality
shortTitle: Code quality
intro: Use the REST API to manage a code quality configuration.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
autogenerated: rest
allowTitleToDifferFromFilename: true
---

<!-- Content after this section is automatically generated -->
10 changes: 10 additions & 0 deletions content/rest/code-quality/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: code-quality
autogenerated: rest
allowTitleToDifferFromFilename: true
children:
- /code-quality
versions:
fpt: '*'
---

1 change: 1 addition & 0 deletions content/rest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ children:
- /campaigns
- /checks
- /classroom
- /code-quality
- /code-scanning
- /code-security
- /codes-of-conduct
Expand Down
2 changes: 1 addition & 1 deletion data/reusables/copilot/auto-model-selection.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
When you use {% data variables.copilot.copilot_chat_short %} in supported IDEs, **Auto** will automatically select the best model for you based on availability. You can manually choose a different model to override this selection. See [AUTOTITLE](/copilot/concepts/auto-model-selection) and [AUTOTITLE](/copilot/how-tos/use-ai-models/change-the-chat-model?tool=vscode).
When you use {% data variables.copilot.copilot_chat_short %} in supported IDEs, **Auto** will automatically select the best model for you based on availability. You can manually choose a different model to override this selection. See [AUTOTITLE](/copilot/concepts/auto-model-selection).
2 changes: 1 addition & 1 deletion data/reusables/copilot/change-the-ai-model.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
You can change the model {% data variables.product.prodname_copilot_short %} uses to generate responses to chat prompts. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. Options include premium models with advanced capabilities. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).
You can change the model {% data variables.product.prodname_copilot_short %} uses to generate responses. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. Options include premium models with advanced capabilities.
Loading
Loading