Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/hubber-contribution-help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

### Need help?

Reach out in [#docs-content](https://github-grid.enterprise.slack.com/archives/C0E9DK082) on Slack.
Reach out in [#docs-content](https://github-grid.enterprise.slack.com/archives/C0E9DK082) on Slack."

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ With {% data variables.product.prodname_code_quality_short %}, you can:

## Availability and usage costs

{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %} plans, as well as public repositories on {% data variables.product.prodname_dotcom_the_website %}.
{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %} plans.

{% data variables.product.prodname_code_quality %} won't be billed during public preview. However, {% data variables.product.prodname_code_quality_short %} scans will consume {% data variables.product.prodname_actions %} minutes. See [AUTOTITLE](/billing/concepts/product-billing/github-code-quality).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ When {% data variables.copilot.copilot_autofix_short %} is enabled for a reposit

{% data variables.product.prodname_dotcom %} sends the LLM a variety of data from the {% data variables.product.prodname_code_scanning %} analysis. For example:

* {% data variables.product.prodname_codeql %} alert data in SARIF format. For more information, see [AUTOTITLE](/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning).
* {% data variables.product.prodname_codeql %} alert data in SARIF format. For more information, see [AUTOTITLE](/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning).
* Code from the current version of the branch.
* Short snippets of code around each source location, sink location, and any location referenced in the alert message or included on the flow path.
* First ~10 lines from each file involved in any of those locations.
* Help text for the {% data variables.product.prodname_codeql %} query that identified the problem. For examples, see [{% data variables.product.prodname_codeql %} query help](https://codeql.github.com/codeql-query-help/).
* Help text for the {% data variables.product.prodname_codeql %} query that identified the problem. For examples, see [{% data variables.product.prodname_codeql %} query help](https://codeql.github.com/codeql-query-help/).

Any {% data variables.copilot.copilot_autofix_short %} suggestions are generated and stored within the {% data variables.product.prodname_code_scanning %} backend. They are displayed as suggestions. No user interaction is needed beyond enabling {% data variables.product.prodname_code_scanning %} on the codebase and creating a pull request.

Expand Down Expand Up @@ -124,7 +124,7 @@ Sometimes a suggested fix includes a change in the dependencies of the codebase.

## Mitigating the limitations of suggestions

The best way to mitigate the limitations of suggestions from {% data variables.copilot.copilot_autofix_short %} is to follow best practices. For example, using CI testing of pull requests to verify functional requirements are unaffected and using dependency management solutions, such as the dependency review API and action. For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review).
The best way to mitigate the limitations of suggestions from {% data variables.copilot.copilot_autofix_short %} is to follow best practices. For example, using CI testing of pull requests to verify functional requirements are unaffected and using dependency management solutions, such as the dependency review API and action. For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review).

It is important to remember that the author of a pull request retains responsibility for how they respond to review comments and suggested code changes, whether proposed by colleagues or automated tools. Developers should always look at suggestions for code changes critically. If needed, they should edit the suggested changes to ensure that the resulting code and application are correct, secure, meet performance criteria, and satisfy all other functional and non-functional requirements for the application.

Expand Down
2 changes: 1 addition & 1 deletion content/copilot/concepts/auto-model-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ category:

Experience less rate limiting and reduce the mental load of choosing a model by letting {% data variables.copilot.copilot_auto_model_selection %} automatically choose the best available model.

In {% data variables.product.prodname_vscode_shortname %}, {% data variables.copilot.copilot_auto_model_selection %} chooses from {% data variables.copilot.copilot_gpt_41 %}, {% data variables.copilot.copilot_gpt_5_mini %}, {% data variables.copilot.copilot_gpt_5 %}, {% data variables.copilot.copilot_claude_sonnet_35 %}, and {% data variables.copilot.copilot_claude_sonnet_45 %}, based on availability and to help reduce rate limiting. Included models may change over time.
In {% data variables.product.prodname_vscode_shortname %}, {% data variables.copilot.copilot_auto_model_selection %} chooses from {% data variables.copilot.copilot_gpt_41 %}, {% data variables.copilot.copilot_gpt_5_mini %}, {% data variables.copilot.copilot_gpt_5 %}, {% data variables.copilot.copilot_claude_haiku_45 %}, and {% data variables.copilot.copilot_claude_sonnet_45 %}, based on availability and to help reduce rate limiting. Included models may change over time.

Automatically selected models **won't** include these models:
* Models with premium request multipliers greater than one. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#model-multipliers).
Expand Down
2 changes: 0 additions & 2 deletions content/copilot/reference/ai-models/model-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Use this table to find a suitable model quickly, see more detail in the sections
| {% data variables.copilot.copilot_claude_haiku_45 %} | Fast help with simple or repetitive tasks | Fast, reliable answers to lightweight coding questions | Agent mode | Not available |
| {% data variables.copilot.copilot_claude_sonnet_45 %} | General-purpose coding and agent tasks | Complex problem-solving challenges, sophisticated reasoning | Agent mode | [{% data variables.copilot.copilot_claude_sonnet_45 %} model card](https://assets.anthropic.com/m/12f214efcc2f457a/original/Claude-Sonnet-4-5-System-Card.pdf) |
| {% data variables.copilot.copilot_claude_opus_41 %} | Deep reasoning and debugging | Complex problem-solving challenges, sophisticated reasoning | Reasoning, vision | [{% data variables.copilot.copilot_claude_opus_41 %} model card](https://assets.anthropic.com/m/4c024b86c698d3d4/original/Claude-4-1-System-Card.pdf) |
| {% data variables.copilot.copilot_claude_sonnet_35 %} | Fast help with simple or repetitive tasks | Quick responses for code, syntax, and documentation | Agent mode, vision | [{% data variables.copilot.copilot_claude_sonnet_35 %} model card](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf) |
| {% data variables.copilot.copilot_claude_sonnet_40 %} | Deep reasoning and debugging | Performance and practicality, perfectly balanced for coding workflows | Agent mode, vision | [{% data variables.copilot.copilot_claude_sonnet_40 %} model card](https://www-cdn.anthropic.com/6be99a52cb68eb70eb9572b4cafad13df32ed995.pdf) |
| {% data variables.copilot.copilot_gemini_25_pro %} | Deep reasoning and debugging | Complex code generation, debugging, and research workflows | Reasoning, vision | [{% data variables.copilot.copilot_gemini_25_pro %} model card](https://storage.googleapis.com/model-cards/documents/gemini-2.5-pro.pdf) |
| {% data variables.copilot.copilot_grok_code %} | General-purpose coding and writing | Fast, accurate code completions and explanations | Agent mode | [{% data variables.copilot.copilot_grok_code %} model card](https://data.x.ai/2025-08-20-grok-4-model-card.pdf) |
Expand Down Expand Up @@ -76,7 +75,6 @@ These models are optimized for speed and responsiveness. They’re ideal for qui
| Model | Why it's a good fit |
|-------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
| {% data variables.copilot.copilot_claude_haiku_45 %} | Balances fast responses with quality output. Ideal for small tasks and lightweight code explanations. |
| {% data variables.copilot.copilot_claude_sonnet_35 %} | Balances fast responses with quality output. Ideal for small tasks and lightweight code explanations. |

### When to use these models

Expand Down
3 changes: 1 addition & 2 deletions content/copilot/reference/ai-models/model-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ Used for:
* {% data variables.copilot.copilot_claude_haiku_45 %}
* {% data variables.copilot.copilot_claude_sonnet_45 %}
* {% data variables.copilot.copilot_claude_opus_41 %}
* {% data variables.copilot.copilot_claude_sonnet_35 %}
* {% data variables.copilot.copilot_claude_sonnet_40 %}

{% data variables.copilot.copilot_claude_haiku_45 %} and {% data variables.copilot.copilot_claude_opus_41 %} are hosted by Anthropic PBC. {% data variables.copilot.copilot_claude_sonnet_40 %} is hosted by Anthropic PBC and Google Cloud Platform. {% data variables.copilot.copilot_claude_sonnet_45 %} is hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform. {% data variables.copilot.copilot_claude_sonnet_35 %} is hosted exclusively by Amazon Web Services. {% data variables.product.github %} has provider agreements in place to ensure data is not used for training. Additional details for each provider are included below:
{% data variables.copilot.copilot_claude_haiku_45 %} and {% data variables.copilot.copilot_claude_opus_41 %} are hosted by Anthropic PBC. {% data variables.copilot.copilot_claude_sonnet_40 %} is hosted by Anthropic PBC and Google Cloud Platform. {% data variables.copilot.copilot_claude_sonnet_45 %} is hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform. {% data variables.product.github %} has provider agreements in place to ensure data is not used for training. Additional details for each provider are included below:

* Amazon Bedrock: Amazon makes the [following data commitments](https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html): _Amazon Bedrock doesn't store or log your prompts and completions. Amazon Bedrock doesn't use your prompts and completions to train any AWS models and doesn't distribute them to third parties_.
* Anthropic PBC: {% data variables.product.github %} maintains a [zero data retention agreement](https://privacy.anthropic.com/en/articles/8956058-i-have-a-zero-retention-agreement-with-anthropic-what-products-does-it-apply-to) with Anthropic.
Expand Down
6 changes: 3 additions & 3 deletions content/copilot/tutorials/compare-ai-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,17 @@ class Cart:
* It can interpret visual assets, such as UML diagrams, wireframes, or flowcharts, to generate code scaffolding or suggest architecture.
* It can be useful for reviewing screenshots of UI layouts or form designs and generating.

## {% data variables.copilot.copilot_claude_sonnet_35 %}
## {% data variables.copilot.copilot_claude_haiku_45 %}

{% data reusables.copilot.model-use-cases.claude-35-sonnet %}
{% data reusables.copilot.model-use-cases.claude-haiku-45 %}

### Example scenario

Consider a scenario where you are implementing both unit tests and integration tests for an application. You want to ensure that the tests are comprehensive and cover any edge cases that you may and may not have thought of.

For a complete walkthrough of the scenario, see [AUTOTITLE](/copilot/tutorials/writing-tests-with-github-copilot).

### Why {% data variables.copilot.copilot_claude_sonnet_35 %} is a good fit
### Why {% data variables.copilot.copilot_claude_haiku_45 %} is a good fit

* It performs well on everyday coding tasks like test generation, boilerplate scaffolding, and validation logic.
* The task leans into multi-step reasoning, but still stays within the confidence zone of a less advanced model because the logic isn’t too deep.
Expand Down
14 changes: 14 additions & 0 deletions content/rest/projects/drafts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: REST API endpoints for draft Project items
shortTitle: Draft Project items
intro: Use the REST API to manage draft items in Projects.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

<!-- Content after this section is automatically generated -->
1 change: 1 addition & 0 deletions content/rest/projects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ topics:
autogenerated: rest
allowTitleToDifferFromFilename: true
children:
- /drafts
- /fields
- /items
- /projects
Expand Down
2 changes: 0 additions & 2 deletions data/reusables/copilot/model-use-cases/claude-35-sonnet.md

This file was deleted.

2 changes: 2 additions & 0 deletions data/reusables/copilot/model-use-cases/claude-haiku-45.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% data variables.copilot.copilot_claude_haiku_45 %} is a good choice for everyday coding support—including writing documentation, answering language-specific questions, or generating boilerplate code. It offers helpful, direct answers without over-complicating the task. If you're working within cost constraints, {% data variables.copilot.copilot_claude_haiku_45 %} is recommended as it delivers solid performance on many of the same tasks as {% data variables.copilot.copilot_claude_sonnet_45 %}, but with lower resource usage.

4 changes: 1 addition & 3 deletions data/reusables/gated-features/code-quality-availability.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{% ifversion fpt or ghec %}
{% data variables.product.prodname_code_quality %} is available for:
* Public repositories on {% data variables.product.prodname_dotcom_the_website %}
* Organization-owned repositories on {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %}
{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %}
{% endif %}
4 changes: 4 additions & 0 deletions data/tables/copilot/model-deprecation-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
# - retirement_date: The official retirement date for the model (YYYY-MM-DD).
# - suggested_alternative: The model recommended for migration.

- name: 'Claude Sonnet 3.5'
retirement_date: '2025-11-06'
suggested_alternative: 'Claude Sonnet 3.5'

- name: 'Claude Opus 4'
retirement_date: '2025-10-23'
suggested_alternative: 'Claude Opus 4.1'
Expand Down
6 changes: 1 addition & 5 deletions data/tables/copilot/model-multipliers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@

- name: Claude Haiku 4.5
multiplier_paid: 0.33
multiplier_free: Not applicable
multiplier_free: 1

- name: Claude Opus 4.1
multiplier_paid: 10
multiplier_free: Not applicable

- name: Claude Sonnet 3.5
multiplier_paid: 1
multiplier_free: 1

- name: Claude Sonnet 4
multiplier_paid: 1
multiplier_free: Not applicable
Expand Down
7 changes: 0 additions & 7 deletions data/tables/copilot/model-release-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@
ask_mode: true
edit_mode: true

- name: 'Claude Sonnet 3.5'
provider: 'Anthropic'
release_status: 'Closing down: 2025-11-06'
agent_mode: true
ask_mode: true
edit_mode: true

- name: 'Claude Sonnet 4'
provider: 'Anthropic'
release_status: 'GA'
Expand Down
8 changes: 0 additions & 8 deletions data/tables/copilot/model-supported-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@
xcode: true
jetbrains: true

- name: Claude Sonnet 3.5
dotcom: true
vscode: true
vs: true
eclipse: true
xcode: true
jetbrains: true

- name: Claude Sonnet 4
dotcom: true
vscode: true
Expand Down
9 changes: 1 addition & 8 deletions data/tables/copilot/model-supported-plans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# - enterprise: Availability on Copilot Enterprise.

- name: Claude Haiku 4.5
free: false
free: true
pro: true
pro_plus: true
business: true
Expand All @@ -26,13 +26,6 @@
business: false
enterprise: true

- name: Claude Sonnet 3.5
free: true
pro: true
pro_plus: true
business: true
enterprise: true

- name: Claude Sonnet 4
free: false
pro: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2325,6 +2325,15 @@
"additional-permissions": false,
"access": "read"
},
{
"category": "projects",
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
"additional-permissions": false,
"access": "write"
},
{
"category": "projects",
"slug": "list-project-fields-for-organization",
Expand Down
6 changes: 6 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,12 @@
"verb": "get",
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
},
{
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
},
{
"slug": "list-project-fields-for-organization",
"subcategory": "fields",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2917,6 +2917,17 @@
"server-to-server": true,
"additional-permissions": false
},
{
"category": "projects",
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "projects",
"slug": "list-project-fields-for-organization",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3886,6 +3886,12 @@
"verb": "get",
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
},
{
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
},
{
"slug": "list-project-fields-for-organization",
"subcategory": "fields",
Expand Down
6 changes: 6 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4366,6 +4366,12 @@
"verb": "get",
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
},
{
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
},
{
"slug": "list-project-fields-for-organization",
"subcategory": "fields",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2946,6 +2946,15 @@
"additional-permissions": false,
"access": "read"
},
{
"category": "projects",
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
"additional-permissions": false,
"access": "write"
},
{
"category": "projects",
"slug": "list-project-fields-for-organization",
Expand Down
6 changes: 6 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -4064,6 +4064,12 @@
"verb": "get",
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
},
{
"slug": "create-draft-item-for-organization-owned-project",
"subcategory": "drafts",
"verb": "post",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
},
{
"slug": "list-project-fields-for-organization",
"subcategory": "fields",
Expand Down
Loading