@@ -60,7 +60,7 @@ You can choose whether your prompts and {% data variables.product.prodname_copil
|
||||
|
||||
You can choose whether to allow the following AI models to be used as an alternative to {% data variables.product.prodname_copilot_short %}'s default model.
|
||||
|
||||
* {% data variables.copilot.copilot_claude_sonnet %} - see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot)
|
||||
* {% data variables.copilot.copilot_claude %} - see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot)
|
||||
* {% data variables.copilot.copilot_gemini %} - see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot)
|
||||
|
||||
{% data reusables.user-settings.copilot-settings %}
|
||||
|
||||
@@ -89,7 +89,7 @@ Some features of {% data variables.product.prodname_copilot_short %} are availab
|
||||
|
||||
By default, {% data variables.product.prodname_copilot_chat_short %} uses a base model. If you grant access to the alternative models, members of your enterprise can choose to use these models rather than the base model. The available alternative models are:
|
||||
|
||||
* **{% data variables.copilot.copilot_claude_sonnet %}**. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot).
|
||||
* **{% data variables.copilot.copilot_claude %}**. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot).
|
||||
* **{% data variables.copilot.copilot_gemini %}**. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot).
|
||||
* **OpenAI models:** See [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-openai-gpt-41-in-github-copilot).
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ Organization owners can set policies to govern how {% data variables.product.pro
|
||||
* {% data variables.product.prodname_copilot_desktop_short %} ({% data variables.release-phases.public_preview %})
|
||||
* Suggestions matching public code
|
||||
* Access to alternative models for {% data variables.product.prodname_copilot_short %}
|
||||
* Anthropic {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_short %}
|
||||
* Anthropic {% data variables.copilot.copilot_claude %} in {% data variables.product.prodname_copilot_short %}
|
||||
* Google {% data variables.copilot.copilot_gemini %} in {% data variables.product.prodname_copilot_short %}
|
||||
* OpenAI models in {% data variables.product.prodname_copilot_short %}
|
||||
|
||||
|
||||
@@ -44,21 +44,23 @@ The following {% data variables.product.prodname_copilot_short %} features can u
|
||||
|
||||
Each model has a premium request multiplier, based on its complexity and resource usage. Your premium request allowance is deducted according to this multiplier.
|
||||
|
||||
| Model | Premium requests |
|
||||
| ------- | ---------------- |
|
||||
| Model | Premium requests |
|
||||
|-------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
||||
| Base model (currently {% data variables.copilot.copilot_gpt_41 %}) [^2] | 0 (paid users), 1 ({% data variables.product.prodname_copilot_free_short %}) |
|
||||
| Premium {% data variables.copilot.copilot_gpt_41 %} | 1 |
|
||||
| {% data variables.copilot.copilot_gpt_4o %} | 1 |
|
||||
| {% data variables.copilot.copilot_gpt_45 %} | 50 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_35 %} | 1 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} | 1 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking | 1.25 |
|
||||
| {% data variables.copilot.copilot_gemini_flash %} | 0.25 |
|
||||
| {% data variables.copilot.copilot_gemini_25_pro %} | 1 |
|
||||
| {% data variables.copilot.copilot_o1 %} | 10 |
|
||||
| {% data variables.copilot.copilot_o3 %} | 5 |
|
||||
| {% data variables.copilot.copilot_o3_mini %} | 0.33 |
|
||||
| {% data variables.copilot.copilot_o4_mini %} | 0.33 |
|
||||
| Premium {% data variables.copilot.copilot_gpt_41 %} | 1 |
|
||||
| {% data variables.copilot.copilot_gpt_4o %} | 1 |
|
||||
| {% data variables.copilot.copilot_gpt_45 %} | 50 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_35 %} | 1 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} | 1 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking | 1.25 |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_40 %} | 1 |
|
||||
| {% data variables.copilot.copilot_claude_opus %} | 10 |
|
||||
| {% data variables.copilot.copilot_gemini_flash %} | 0.25 |
|
||||
| {% data variables.copilot.copilot_gemini_25_pro %} | 1 |
|
||||
| {% data variables.copilot.copilot_o1 %} | 10 |
|
||||
| {% data variables.copilot.copilot_o3 %} | 5 |
|
||||
| {% data variables.copilot.copilot_o3_mini %} | 0.33 |
|
||||
| {% data variables.copilot.copilot_o4_mini %} | 0.33 |
|
||||
|
||||
[^2]: The base model at the time of writing is powered by {% data variables.copilot.copilot_gpt_41 %}. This is subject to change. Response times for the base model may vary during periods of high usage. Requests to the base model may be subject to rate limiting.
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ The following models are currently available in the immersive mode of {% data va
|
||||
* {% data variables.copilot.copilot_claude_sonnet_35 %}
|
||||
* {% data variables.copilot.copilot_claude_sonnet_37 %}
|
||||
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
|
||||
* {% data variables.copilot.copilot_claude_sonnet_40 %}
|
||||
* {% data variables.copilot.copilot_claude_opus %}
|
||||
* {% data variables.copilot.copilot_gemini_flash %}
|
||||
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
|
||||
* {% data variables.copilot.copilot_o1 %}
|
||||
@@ -84,6 +86,8 @@ The following models are currently available through multi-model {% data variabl
|
||||
* {% data variables.copilot.copilot_claude_sonnet_35 %}
|
||||
* {% data variables.copilot.copilot_claude_sonnet_37 %}
|
||||
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
|
||||
* {% data variables.copilot.copilot_claude_sonnet_40 %}
|
||||
* {% data variables.copilot.copilot_claude_opus %}
|
||||
* {% data variables.copilot.copilot_gemini_flash %}
|
||||
* {% data variables.copilot.copilot_o1 %}
|
||||
* {% data variables.copilot.copilot_o3 %}
|
||||
@@ -253,6 +257,6 @@ To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task)
|
||||
|
||||
@@ -31,6 +31,8 @@ You can click a model name in the list below to jump to a detailed overview of i
|
||||
* [{% data variables.copilot.copilot_o4_mini %}](#o4-mini)
|
||||
* [{% data variables.copilot.copilot_claude_sonnet_35 %}](#claude-35-sonnet)
|
||||
* [{% data variables.copilot.copilot_claude_sonnet_37 %}](#claude-37-sonnet)
|
||||
* [{% data variables.copilot.copilot_claude_sonnet_40 %}](#claude-sonnet-4)
|
||||
* [{% data variables.copilot.copilot_claude_opus %}](#claude-opus-4)
|
||||
* [{% data variables.copilot.copilot_gemini_flash %}](#gemini-20-flash)
|
||||
* [{% data variables.copilot.copilot_gemini_25_pro %}](#gemini-25-pro)
|
||||
> [!NOTE] Different models have different premium request multipliers, which can affect how much of your monthly usage allowance is consumed. For details, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
|
||||
@@ -319,7 +321,7 @@ The following table summarizes when an alternative model may be a better choice:
|
||||
{% data variables.copilot.copilot_claude_sonnet_35 %} is a fast and cost-efficient model designed for everyday developer tasks. While it doesn't have the deeper reasoning capabilities of {% data variables.copilot.copilot_claude_sonnet_37 %}, it still performs well on coding tasks that require quick responses, clear summaries, and basic logic.
|
||||
|
||||
For more information about {% data variables.copilot.copilot_claude_sonnet_35 %}, see [Anthropic's documentation](https://www.anthropic.com/news/claude-3-5-sonnet).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot).
|
||||
|
||||
### Use cases
|
||||
|
||||
@@ -356,10 +358,10 @@ The following table summarizes when an alternative model may be a better choice:
|
||||
|
||||
## {% data variables.copilot.copilot_claude_sonnet_37 %}
|
||||
|
||||
{% data variables.copilot.copilot_claude_sonnet_37 %} is Anthropic's most advanced model to date. {% data variables.copilot.copilot_claude_sonnet_37 %} is a powerful model that excels in development tasks that require structured reasoning across large or complex codebases. Its hybrid approach to reasoning responds quickly when needed, while still supporting slower step-by-step analysis for deeper tasks.
|
||||
{% data variables.copilot.copilot_claude_sonnet_37 %} is a powerful model that excels in development tasks that require structured reasoning across large or complex codebases. Its hybrid approach to reasoning responds quickly when needed, while still supporting slower step-by-step analysis for deeper tasks.
|
||||
|
||||
For more information about {% data variables.copilot.copilot_claude_sonnet_37 %}, see [Anthropic's documentation](https://www.anthropic.com/claude/sonnet).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot).
|
||||
|
||||
### Use cases
|
||||
|
||||
@@ -395,6 +397,20 @@ The following table summarizes when an alternative model may be a better choice:
|
||||
|
||||
{% endrowheaders %}
|
||||
|
||||
## {% data variables.copilot.copilot_claude_sonnet_40 %}
|
||||
|
||||
{% data reusables.copilot.claude-sonnet-40-public-preview-note %}
|
||||
|
||||
For more information about {% data variables.copilot.copilot_claude_sonnet_40 %}, see [Anthropic's documentation](https://www.anthropic.com/claude/).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot).
|
||||
|
||||
## {% data variables.copilot.copilot_claude_opus %}
|
||||
|
||||
{% data reusables.copilot.claude-opus-public-preview-note %}
|
||||
|
||||
For more information about {% data variables.copilot.copilot_claude_opus %}, see [Anthropic's documentation](https://www.anthropic.com/claude/).
|
||||
For more information on using Claude in {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-in-github-copilot).
|
||||
|
||||
## {% data variables.copilot.copilot_gemini_flash %}
|
||||
|
||||
{% data variables.copilot.copilot_gemini_flash %} is Google’s high-speed, multimodal model optimized for real-time, interactive applications that benefit from visual input and agentic reasoning. In {% data variables.product.prodname_copilot_chat_short %}, {% data variables.copilot.copilot_gemini_flash %} enables fast responses and cross-modal understanding.
|
||||
|
||||
@@ -11,7 +11,7 @@ children:
|
||||
- /changing-the-ai-model-for-copilot-code-completion
|
||||
- /choosing-the-right-ai-model-for-your-task
|
||||
- /comparing-ai-models-using-different-tasks
|
||||
- /using-claude-sonnet-in-github-copilot
|
||||
- /using-claude-in-github-copilot
|
||||
- /using-gemini-in-github-copilot
|
||||
- /using-openai-gpt-41-in-github-copilot
|
||||
- /using-openai-o3-in-github-copilot
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
---
|
||||
title: Using Claude in Copilot Chat
|
||||
allowTitleToDifferFromFilename: true
|
||||
shortTitle: 'Use {% data variables.copilot.copilot_claude %}'
|
||||
intro: 'Learn how to enable {% data variables.copilot.copilot_claude %} in {% data variables.product.prodname_copilot_chat %} for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
- Copilot
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-claude-sonnet-in-github-copilot
|
||||
- /copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot
|
||||
---
|
||||
|
||||
## About {% data variables.copilot.copilot_claude %} in {% data variables.product.prodname_copilot_chat %}
|
||||
|
||||
{% data reusables.copilot.claude-public-preview-note %}
|
||||
|
||||
{% data variables.copilot.copilot_claude %} is a family of large language models that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_claude %} excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about [Claude's capabilities](https://www.anthropic.com/claude).
|
||||
|
||||
* {% data variables.copilot.copilot_claude_opus %} is available in:
|
||||
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
|
||||
* Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
|
||||
|
||||
* {% data variables.copilot.copilot_claude_sonnet_40 %} is available in:
|
||||
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
|
||||
* Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
|
||||
|
||||
* {% data variables.copilot.copilot_claude_sonnet_35 %} and {% data variables.copilot.copilot_claude_sonnet_37 %} are available in:
|
||||
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022
|
||||
* **3.5**: Version 17.12 or later
|
||||
* **3.7**: Version 17.13 or later
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in Xcode
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in Eclipse
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in JetBrains
|
||||
* Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
|
||||
|
||||
{% data variables.copilot.copilot_claude_opus %} is hosted by Anthropic PBC. {% data variables.copilot.copilot_claude_sonnet_40 %} is hosted by Anthropic 1P. {% data variables.copilot.copilot_claude_sonnet_37 %} is hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform when used in {% data variables.product.prodname_copilot %}. {% 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:
|
||||
|
||||
* 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.
|
||||
* Google Cloud: [Google commits to not training on {% data variables.product.github %} data as part of their service terms](https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance). {% data variables.product.github %} is additionally not subject to prompt logging for abuse monitoring.
|
||||
|
||||
In order to provide better service quality and reduce latency, {% data variables.product.github %} uses [prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching). You can read more about prompt caching on [Anthropic PBC](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), [Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html), and [Google Cloud](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude-prompt-caching).
|
||||
|
||||
When using {% data variables.copilot.copilot_claude %}, input prompts and output completions continue to run through {% data variables.product.prodname_copilot %}'s content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.
|
||||
|
||||
## Configuring access
|
||||
|
||||
You must enable access to each {% data variables.copilot.copilot_claude %} individually before you can use the model.
|
||||
|
||||
{% ifversion fpt %}
|
||||
|
||||
### Setup for individual use
|
||||
|
||||
> [!NOTE]
|
||||
> * {% data variables.copilot.copilot_claude_opus %} is not currently available for {% data variables.product.prodname_copilot_free_short %} and {% data variables.product.prodname_copilot_pro_short %}.
|
||||
> * {% data variables.copilot.copilot_claude_sonnet_40 %} and {% data variables.copilot.copilot_claude_sonnet_37 %} are not currently available for {% data variables.product.prodname_copilot_free_short %}.
|
||||
> * {% data variables.copilot.copilot_claude_sonnet_37 %} is not currently available for {% data variables.product.prodname_copilot_free_short %}.
|
||||
|
||||
If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, you can enable {% data variables.copilot.copilot_claude %} in two ways:
|
||||
|
||||
* The first time you choose to use {% data variables.copilot.copilot_claude %} models with {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, or in the immersive view of {% data variables.product.prodname_copilot_chat_short %}, you will be prompted to allow access to the model.
|
||||
|
||||
Clicking **Allow** enables you to use {% data variables.copilot.copilot_claude %} and updates the policy in your personal settings on {% data variables.product.github %}.
|
||||
|
||||
* You can enable the model directly in your personal settings on the {% data variables.product.github %} website. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-alternative-ai-models).
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Setup for organization {% ifversion ghec %}and enterprise{% endif %} use
|
||||
|
||||
> [!NOTE]
|
||||
> {% data variables.copilot.copilot_claude_opus %} is not currently available for {% data variables.product.prodname_copilot_business_short %}.
|
||||
|
||||
As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_claude %} models for everyone who has been assigned a {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} or {% endif %}{% data variables.product.prodname_copilot_business_short %} seat through your {% ifversion ghec %}enterprise or {% endif %}organization. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization){% ifversion ghec %} and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% endif %}.
|
||||
|
||||
## Using {% data variables.copilot.copilot_claude %}
|
||||
|
||||
For details on how to change the model that {% data variables.product.prodname_copilot_chat_short %} uses, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).
|
||||
|
||||
## Leaving feedback
|
||||
|
||||
To leave feedback about {% data variables.copilot.copilot_claude %} in {% data variables.product.prodname_copilot_short %}, or to ask a question, see the {% data variables.product.prodname_github_community %} discussion [{% data variables.copilot.copilot_claude_sonnet_35 %} is now available to all {% data variables.product.prodname_copilot_short %} users in Public Preview](https://github.com/orgs/community/discussions/143337).
|
||||
@@ -1,69 +0,0 @@
|
||||
---
|
||||
title: Using Claude Sonnet in Copilot Chat
|
||||
allowTitleToDifferFromFilename: true
|
||||
shortTitle: 'Use {% data variables.copilot.copilot_claude_sonnet %}'
|
||||
intro: 'Learn how to enable {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %} for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
- Copilot
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-claude-sonnet-in-github-copilot
|
||||
---
|
||||
|
||||
## About {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %}
|
||||
|
||||
{% data variables.copilot.copilot_claude_sonnet %} is a family of large language models that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_claude_sonnet %} excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about [Sonnet's capabilities](https://www.anthropic.com/claude/sonnet).
|
||||
|
||||
* {% data variables.copilot.copilot_claude_sonnet_35 %} and {% data variables.copilot.copilot_claude_sonnet_37 %} are available in:
|
||||
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022
|
||||
* **3.5**: Version 17.12 or later
|
||||
* **3.7**: Version 17.13 or later
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in Xcode
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in Eclipse
|
||||
* {% data variables.product.prodname_copilot_chat_short %} in JetBrains
|
||||
* Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
|
||||
|
||||
{% data variables.copilot.copilot_claude_sonnet_37 %} is hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform when used in {% data variables.product.prodname_copilot %}. {% 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:
|
||||
|
||||
* 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.
|
||||
* Google Cloud: [Google commits to not training on {% data variables.product.github %} data as part of their service terms](https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance). {% data variables.product.github %} is additionally not subject to prompt logging for abuse monitoring.
|
||||
|
||||
In order to provide better service quality and reduce latency, {% data variables.product.github %} uses [prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching). You can read more about prompt caching on [Anthropic PBC](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), [Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html), and [Google Cloud](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude-prompt-caching).
|
||||
|
||||
When using {% data variables.copilot.copilot_claude_sonnet %}, input prompts and output completions continue to run through {% data variables.product.prodname_copilot %}'s content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.
|
||||
|
||||
## Configuring access
|
||||
|
||||
You must enable access to each {% data variables.copilot.copilot_claude_sonnet %} individually before you can use the model.
|
||||
|
||||
{% ifversion fpt %}
|
||||
|
||||
### Setup for individual use
|
||||
|
||||
> [!NOTE] {% data variables.copilot.copilot_claude_sonnet_37 %} is not currently available for {% data variables.product.prodname_copilot_free_short %}.
|
||||
|
||||
If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, you can enable {% data variables.copilot.copilot_claude_sonnet %} in two ways:
|
||||
|
||||
* The first time you choose to use {% data variables.copilot.copilot_claude_sonnet %} models with {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, or in the immersive view of {% data variables.product.prodname_copilot_chat_short %}, you will be prompted to allow access to the model.
|
||||
|
||||
Clicking **Allow** enables you to use {% data variables.copilot.copilot_claude_sonnet %} and updates the policy in your personal settings on {% data variables.product.github %}.
|
||||
|
||||
* You can enable the model directly in your personal settings on the {% data variables.product.github %} website. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-alternative-ai-models).
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Setup for organization {% ifversion ghec %}and enterprise{% endif %} use
|
||||
|
||||
As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_claude_sonnet %} models for everyone who has been assigned a {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} or {% endif %}{% data variables.product.prodname_copilot_business_short %} seat through your {% ifversion ghec %}enterprise or {% endif %}organization. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization){% ifversion ghec %} and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% endif %}.
|
||||
|
||||
## Using {% data variables.copilot.copilot_claude_sonnet %}
|
||||
|
||||
For details on how to change the model that {% data variables.product.prodname_copilot_chat_short %} uses, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).
|
||||
|
||||
## Leaving feedback
|
||||
|
||||
To leave feedback about {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_short %}, or to ask a question, see the {% data variables.product.prodname_github_community %} discussion [{% data variables.copilot.copilot_claude_sonnet_35 %} is now available to all {% data variables.product.prodname_copilot_short %} users in Public Preview](https://github.com/orgs/community/discussions/143337).
|
||||
@@ -41,7 +41,7 @@ In immersive view, you can also preview how some file formats, such as Markdown,
|
||||
|
||||
## Powered by skills
|
||||
|
||||
When using the {% data variables.copilot.copilot_gpt_4o %} and {% data variables.copilot.copilot_claude_sonnet %} models, {% data variables.product.prodname_copilot_short %} has access to a collection of skills to fetch data from {% data variables.product.github %}, which are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window.
|
||||
When using the {% data variables.copilot.copilot_gpt_4o %} and {% data variables.copilot.copilot_claude %} models, {% data variables.product.prodname_copilot_short %} has access to a collection of skills to fetch data from {% data variables.product.github %}, which are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
> [!NOTE]
|
||||
> {% data variables.copilot.copilot_claude_opus %} in {% data variables.product.prodname_copilot_chat_short %} is currently in {% data variables.release-phases.public_preview %} and subject to change.
|
||||
2
data/reusables/copilot/claude-public-preview-note.md
Normal file
2
data/reusables/copilot/claude-public-preview-note.md
Normal file
@@ -0,0 +1,2 @@
|
||||
> [!NOTE]
|
||||
> {% data variables.copilot.copilot_claude_opus %} and {% data variables.copilot.copilot_claude_sonnet_40 %} in {% data variables.product.prodname_copilot_chat_short %} are currently in {% data variables.release-phases.public_preview %} and subject to change.
|
||||
@@ -0,0 +1,2 @@
|
||||
> [!NOTE]
|
||||
> {% data variables.copilot.copilot_claude_sonnet_40 %} in {% data variables.product.prodname_copilot_chat_short %} is currently in {% data variables.release-phases.public_preview %} and subject to change.
|
||||
@@ -46,6 +46,8 @@
|
||||
| {% data variables.copilot.copilot_claude_sonnet_35 %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_claude_sonnet_40 %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_claude_opus %} | {% octicon "x" aria-label="Not included" %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_gemini_flash %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_gemini_25_pro %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
| {% data variables.copilot.copilot_gpt_4o %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} |
|
||||
|
||||
@@ -41,9 +41,12 @@ copilot_coding_agent: 'Copilot coding agent'
|
||||
coding_agent_UI: 'Coding agent'
|
||||
|
||||
## LLM models for Copilot
|
||||
copilot_claude: 'Claude'
|
||||
copilot_claude_sonnet: 'Claude Sonnet'
|
||||
copilot_claude_sonnet_35: 'Claude 3.5 Sonnet'
|
||||
copilot_claude_sonnet_37: 'Claude 3.7 Sonnet'
|
||||
copilot_claude_sonnet_40: 'Claude Sonnet 4'
|
||||
copilot_claude_opus: 'Claude Opus 4'
|
||||
|
||||
copilot_gemini: 'Gemini'
|
||||
copilot_gemini_flash: 'Gemini 2.0 Flash'
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
"purge-old-workflow-runs": "tsx src/workflows/purge-old-workflow-runs.js",
|
||||
"ready-for-docs-review": "tsx src/workflows/ready-for-docs-review.ts",
|
||||
"release-banner": "tsx src/ghes-releases/scripts/release-banner.ts",
|
||||
"repo-sync": "./src/workflows/local-repo-sync.sh",
|
||||
"reusables": "tsx src/content-render/scripts/reusables-cli.ts",
|
||||
"rendered-content-link-checker": "tsx src/links/scripts/rendered-content-link-checker.ts",
|
||||
"rendered-content-link-checker-cli": "tsx src/links/scripts/rendered-content-link-checker-cli.ts",
|
||||
|
||||
@@ -1,4 +1,18 @@
|
||||
[
|
||||
{
|
||||
"schemaChanges": [
|
||||
{
|
||||
"title": "The GraphQL schema includes these changes:",
|
||||
"changes": [
|
||||
"<p>Field <code>duplicateOf</code> was added to object type <code>ClosedEvent</code></p>",
|
||||
"<p>Field <code>duplicateOf</code> was added to object type <code>Issue</code></p>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"previewChanges": [],
|
||||
"upcomingChanges": [],
|
||||
"date": "2025-05-22"
|
||||
},
|
||||
{
|
||||
"schemaChanges": [
|
||||
{
|
||||
|
||||
@@ -4627,6 +4627,11 @@ type ClosedEvent implements Node & UniformResourceLocatable {
|
||||
"""
|
||||
createdAt: DateTime!
|
||||
|
||||
"""
|
||||
The issue or pull request that this issue was marked as a duplicate of.
|
||||
"""
|
||||
duplicateOf: IssueOrPullRequest
|
||||
|
||||
"""
|
||||
The Node ID of the ClosedEvent object
|
||||
"""
|
||||
@@ -18732,6 +18737,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
|
||||
"""
|
||||
databaseId: Int
|
||||
|
||||
"""
|
||||
A reference to the original issue that this issue has been marked as a duplicate of.
|
||||
"""
|
||||
duplicateOf: Issue
|
||||
|
||||
"""
|
||||
The actor who edited the comment.
|
||||
"""
|
||||
|
||||
@@ -13800,6 +13800,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#datetime"
|
||||
},
|
||||
{
|
||||
"name": "duplicateOf",
|
||||
"description": "<p>The issue or pull request that this issue was marked as a duplicate of.</p>",
|
||||
"type": "IssueOrPullRequest",
|
||||
"id": "issueorpullrequest",
|
||||
"kind": "unions",
|
||||
"href": "/graphql/reference/unions#issueorpullrequest"
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"description": "<p>The Node ID of the ClosedEvent object.</p>",
|
||||
@@ -29173,6 +29181,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#int"
|
||||
},
|
||||
{
|
||||
"name": "duplicateOf",
|
||||
"description": "<p>A reference to the original issue that this issue has been marked as a duplicate of.</p>",
|
||||
"type": "Issue",
|
||||
"id": "issue",
|
||||
"kind": "objects",
|
||||
"href": "/graphql/reference/objects#issue"
|
||||
},
|
||||
{
|
||||
"name": "editor",
|
||||
"description": "<p>The actor who edited the comment.</p>",
|
||||
|
||||
@@ -4627,6 +4627,11 @@ type ClosedEvent implements Node & UniformResourceLocatable {
|
||||
"""
|
||||
createdAt: DateTime!
|
||||
|
||||
"""
|
||||
The issue or pull request that this issue was marked as a duplicate of.
|
||||
"""
|
||||
duplicateOf: IssueOrPullRequest
|
||||
|
||||
"""
|
||||
The Node ID of the ClosedEvent object
|
||||
"""
|
||||
@@ -18732,6 +18737,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
|
||||
"""
|
||||
databaseId: Int
|
||||
|
||||
"""
|
||||
A reference to the original issue that this issue has been marked as a duplicate of.
|
||||
"""
|
||||
duplicateOf: Issue
|
||||
|
||||
"""
|
||||
The actor who edited the comment.
|
||||
"""
|
||||
|
||||
@@ -13800,6 +13800,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#datetime"
|
||||
},
|
||||
{
|
||||
"name": "duplicateOf",
|
||||
"description": "<p>The issue or pull request that this issue was marked as a duplicate of.</p>",
|
||||
"type": "IssueOrPullRequest",
|
||||
"id": "issueorpullrequest",
|
||||
"kind": "unions",
|
||||
"href": "/graphql/reference/unions#issueorpullrequest"
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"description": "<p>The Node ID of the ClosedEvent object.</p>",
|
||||
@@ -29173,6 +29181,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#int"
|
||||
},
|
||||
{
|
||||
"name": "duplicateOf",
|
||||
"description": "<p>A reference to the original issue that this issue has been marked as a duplicate of.</p>",
|
||||
"type": "Issue",
|
||||
"id": "issue",
|
||||
"kind": "objects",
|
||||
"href": "/graphql/reference/objects#issue"
|
||||
},
|
||||
{
|
||||
"name": "editor",
|
||||
"description": "<p>The actor who edited the comment.</p>",
|
||||
|
||||
42
src/workflows/local-repo-sync.sh
Executable file
42
src/workflows/local-repo-sync.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "> This script assumes docs and docs-internal are cloned together in the same directory already."
|
||||
|
||||
echo "> Making sure the repos are a sibiling directories..."
|
||||
cd ../docs || (echo "Repo docs not found as a sibling directory" && exit 1)
|
||||
cd ../docs-internal || (echo "Repo docs-internal not found as a sibling directory" && exit 1)
|
||||
echo "> Found directories for repos docs and docs-internal"
|
||||
|
||||
echo "> Checking out main branch and updating both repositories..."
|
||||
cd ../docs
|
||||
git checkout main
|
||||
git pull
|
||||
cd ../docs-internal
|
||||
git checkout main
|
||||
git pull
|
||||
echo "> Both repositories are in main and up-to-date"
|
||||
|
||||
echo "> Set up remotes if they aren't there..."
|
||||
cd ../docs
|
||||
git remote show docs-internal || git remote add docs-internal ../docs-internal
|
||||
cd ../docs-internal
|
||||
git remote show docs || git remote add docs ../docs
|
||||
echo "> Remotes set on docs and docs-internal"
|
||||
|
||||
echo "> Fetch and merge both repositories..."
|
||||
cd ../docs
|
||||
git fetch docs-internal main
|
||||
git merge docs-internal/main
|
||||
cd ../docs-internal
|
||||
git fetch docs main
|
||||
git merge docs/main
|
||||
echo "> Both repositories have each other's latest changes in main"
|
||||
|
||||
echo "> Push up both repositories..."
|
||||
cd ../docs
|
||||
git push --no-verify
|
||||
cd ../docs-internal
|
||||
git push --no-verify
|
||||
echo "> Both repositories are pushed to origin"
|
||||
Reference in New Issue
Block a user