From 42e3c0035115a169f375c36def68ae4e5e1e2a05 Mon Sep 17 00:00:00 2001 From: rakleed <19418601+rakleed@users.noreply.github.com> Date: Fri, 7 Mar 2025 02:01:17 +0300 Subject: [PATCH 1/7] Add mention of JetBrains IDEs in changing AI models --- .../changing-the-ai-model-for-copilot-chat.md | 17 ++++++++++------- .../using-claude-sonnet-in-github-copilot.md | 2 ++ .../using-gemini-flash-in-github-copilot.md | 1 + 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md index 8c8ea554e254..86632c678402 100644 --- a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md +++ b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md @@ -46,9 +46,9 @@ For more information about these models, see: * If you want to use the skills listed in the table above{% ifversion ghec %}, or knowledge bases{% endif %}, on the {% data variables.product.github %} website, only the GPT-4o, {% data variables.copilot.copilot_claude_sonnet %}, and {% data variables.copilot.copilot_gemini_flash %} models are supported. * Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter. -## Changing your AI model +## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %} -These instructions are for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website. For {% data variables.product.prodname_vs %} or {% data variables.product.prodname_vscode_shortname %}, click the appropriate tab at the top of this page. +These instructions are for the {% data variables.product.github %}. For instructions on different clients, click the appropriate tab at the top of this page. {% data reusables.copilot.model-picker-enable-alternative-models %} @@ -86,9 +86,9 @@ For more information about these models, see: * **Anthropic's {% data variables.copilot.copilot_claude_sonnet %} models**: [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot). * **Google's {% data variables.copilot.copilot_gemini_flash %} model**: [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot). -## Changing your AI model +## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %} -These instructions are for {% data variables.product.prodname_vscode_shortname %}. For {% data variables.product.prodname_vs %} or for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website, click the appropriate tab at the top of this page. +These instructions are for the {% data variables.product.prodname_vscode %}. For instructions on different clients, click the appropriate tab at the top of this page. {% data reusables.copilot.model-picker-enable-alternative-models %} @@ -120,9 +120,9 @@ For more information about these models, see: ## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %} -These instructions are for {% data variables.product.prodname_vs %}. For {% data variables.product.prodname_vscode_shortname %} or for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website, click the appropriate tab at the top of this page. +These instructions are for the {% data variables.product.prodname_vs %}. For instructions on different clients, click the appropriate tab at the top of this page. -To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must use {% data variables.product.prodname_vs %} 2022 version 17.12 or later. See the [{% data variables.product.prodname_vs %} downloads page](https://visualstudio.microsoft.com/downloads/). +> [!IMPORTANT] To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must use {% data variables.product.prodname_vs %} 2022 version 17.12 or later. See the [{% data variables.product.prodname_vs %} downloads page](https://visualstudio.microsoft.com/downloads/). {% data reusables.copilot.model-picker-enable-alternative-models %} @@ -135,11 +135,14 @@ To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you {% jetbrains %} +> [!NOTE] Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change. + ## AI models for {% data variables.product.prodname_copilot_chat_short %} The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}: * {% data reusables.copilot.model-description-gpt-4o %} +* {% data reusables.copilot.model-description-claude-sonnet-37 %} * {% data reusables.copilot.model-description-claude-sonnet-35 %} * {% data reusables.copilot.model-description-gemini-flash %} * {% data reusables.copilot.model-description-o1 %} @@ -159,6 +162,6 @@ These instructions are for the JetBrains IDEs. For instructions on different cli 1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the status bar. 1. In the popup menu, click **Open {% data variables.product.prodname_copilot_chat %}**. -1. In the bottom right of the chat view, select an AI model of your choice from the {% octicon "chevron-down" aria-hidden="true" %} dropdown menu. +1. In the bottom right of the chat view, select an AI model of your choice from the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" %} dropdown menu. {% endjetbrains %} diff --git a/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md index 840bad9b2564..a9e7f2317d20 100644 --- a/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md +++ b/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md @@ -22,12 +22,14 @@ redirect_from: * {% 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 version 17.13 or later * Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %} +* {% data variables.product.prodname_copilot_chat_short %} in JetBrains IDEs {% data variables.copilot.copilot_claude_sonnet_35 %} is currently 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 version 17.12 or later * Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %} +* {% data variables.product.prodname_copilot_chat_short %} in JetBrains IDEs {% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_claude_sonnet %} hosted on Amazon Web Services. When using {% data variables.copilot.copilot_claude_sonnet %}, prompts and metadata are sent to Amazon's Bedrock service, which 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_. diff --git a/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md index fc32eb057e97..d78c911cf4ce 100644 --- a/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md +++ b/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md @@ -19,6 +19,7 @@ topics: * {% 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.product.prodname_copilot_chat_short %} in JetBrains IDEs {% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_flash %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini_flash %}, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/gemini/docs/discover/data-governance): _Gemini doesn't use your prompts, or its responses, as data to train its models._ From 1a4b166764b8050de579a5e39af1890429bbb322 Mon Sep 17 00:00:00 2001 From: rakleed <19418601+rakleed@users.noreply.github.com> Date: Sun, 8 Jun 2025 22:44:43 +0300 Subject: [PATCH 2/7] Refactor AI model section headers for consistency and clarity --- .../changing-the-ai-model-for-copilot-chat.md | 12 ++++++------ .../ai-models/using-gemini-in-github-copilot.md | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md index 8819d36c7dc9..62920d9e320b 100644 --- a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md +++ b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md @@ -49,7 +49,7 @@ For more information about these models, see [AUTOTITLE](/copilot/using-github-c Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter. -## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %} +## Changing the AI model These instructions are for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website. For instructions on different clients, click the appropriate tab at the top of this page. @@ -94,7 +94,7 @@ The following models are currently available through multi-model {% data variabl For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task). -## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %} +## Changing the AI model These instructions are for the {% data variables.product.prodname_vscode %}. For instructions on different clients, click the appropriate tab at the top of this page. @@ -128,7 +128,7 @@ The following models are currently available through multi-model {% data variabl For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task). -## Changing the AI model for {% data variables.copilot.copilot_chat_short %} +## Changing the AI model These instructions are for {% data variables.product.prodname_vs %}. For instructions on different clients, click the appropriate tab at the top of this page. @@ -168,7 +168,7 @@ The following models are currently available through multi-model {% data variabl For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task). -## Changing the AI model for {% data variables.copilot.copilot_chat_short %} +## Changing the AI model These instructions are for the JetBrains IDEs. For instructions on different clients, click the appropriate tab at the top of this page. @@ -207,7 +207,7 @@ The following models are currently available through multi-model {% data variabl For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task). -## Changing the AI model for {% data variables.copilot.copilot_chat_short %} +## Changing the AI model These instructions are for the Eclipse IDE. For instructions on different clients, click the appropriate tab at the top of this page. @@ -246,7 +246,7 @@ The following models are currently available through multi-model {% data variabl For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task). -## Changing the AI model for {% data variables.copilot.copilot_chat_short %} +## Changing the AI model These instructions are for Xcode. For instructions on different clients, click the appropriate tab at the top of this page. diff --git a/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md index 7d1e776a4c17..58d73caa6f34 100644 --- a/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md +++ b/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md @@ -19,6 +19,7 @@ redirect_from: * {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %} * Immersive mode in {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %} +* {% data variables.product.prodname_copilot_chat_short %} in JetBrains IDEs {% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_flash %} and {% data variables.copilot.copilot_gemini_25_pro %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini %} models, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/gemini/docs/discover/data-governance): _{% data variables.copilot.copilot_gemini %} doesn't use your prompts, or its responses, as data to train its models._ From 3b160ae1bc7b06df1109fe69e14b8879c22a7198 Mon Sep 17 00:00:00 2001 From: rakleed <19418601+rakleed@users.noreply.github.com> Date: Sun, 8 Jun 2025 22:45:43 +0300 Subject: [PATCH 3/7] fix --- .../using-gemini-flash-in-github-copilot.md | 52 ------------------- 1 file changed, 52 deletions(-) delete mode 100644 content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md diff --git a/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md deleted file mode 100644 index d78c911cf4ce..000000000000 --- a/content/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Using Gemini 2.0 Flash in Copilot Chat -allowTitleToDifferFromFilename: true -shortTitle: 'Use {% data variables.copilot.copilot_gemini_flash %}' -intro: 'Learn how to enable {% data variables.copilot.copilot_gemini_flash %} 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 ---- - -> [!NOTE] {% data variables.copilot.copilot_gemini_flash %} is in {% data variables.release-phases.public_preview %} and subject to change. The [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms) apply to your use of this product. - -## About {% data variables.copilot.copilot_gemini_flash %} in {% data variables.product.prodname_copilot %} - -{% data variables.copilot.copilot_gemini_flash %} is a large language model (LLM) that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_gemini_flash %} is a responsive LLM that can empower you to build apps faster and more easily, so you can focus on great experiences for your users. {% data reusables.copilot.gemini-model-info %} - -{% data variables.copilot.copilot_gemini_flash %} is currently 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.product.prodname_copilot_chat_short %} in JetBrains IDEs - -{% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_flash %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini_flash %}, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/gemini/docs/discover/data-governance): _Gemini doesn't use your prompts, or its responses, as data to train its models._ - -When using {% data variables.copilot.copilot_gemini_flash %}, 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 {% data variables.copilot.copilot_gemini_flash %} before you can use the model. - -{% ifversion fpt %} - -### Setup for individual use - -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_gemini_flash %} in two ways: - -* The first time you choose to use {% data variables.copilot.copilot_gemini_flash %} 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_gemini_flash %} 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_gemini_flash %} 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#copilot-access-to-alternative-ai-models){% endif %}. - -## Using {% data variables.copilot.copilot_gemini_flash %} - -For details of 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). From 899f92c6575540aac844d840d77f2672227da724 Mon Sep 17 00:00:00 2001 From: rakleed <19418601+rakleed@users.noreply.github.com> Date: Sun, 8 Jun 2025 22:46:33 +0300 Subject: [PATCH 4/7] fix --- .../ai-models/using-claude-sonnet-in-github-copilot.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md diff --git a/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md deleted file mode 100644 index e69de29bb2d1..000000000000 From 23fc49c6cf21d9a4226a8d38f4927bf78f2ff93f Mon Sep 17 00:00:00 2001 From: rakleed <19418601+rakleed@users.noreply.github.com> Date: Sun, 8 Jun 2025 23:00:57 +0300 Subject: [PATCH 5/7] fix --- .../ai-models/using-gemini-in-github-copilot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md b/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md index 58d73caa6f34..ff5ab395578e 100644 --- a/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md +++ b/content/copilot/using-github-copilot/ai-models/using-gemini-in-github-copilot.md @@ -19,7 +19,7 @@ redirect_from: * {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %} * Immersive mode in {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %} -* {% data variables.product.prodname_copilot_chat_short %} in JetBrains IDEs +* {% data variables.copilot.copilot_chat_short %} in JetBrains IDEs {% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_flash %} and {% data variables.copilot.copilot_gemini_25_pro %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini %} models, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/gemini/docs/discover/data-governance): _{% data variables.copilot.copilot_gemini %} doesn't use your prompts, or its responses, as data to train its models._ From f707842a8446e7ef701f4e17ae6e5a757fb10baf Mon Sep 17 00:00:00 2001 From: Sharra-writes Date: Tue, 10 Jun 2025 10:30:52 -0700 Subject: [PATCH 6/7] Update content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md --- .../ai-models/changing-the-ai-model-for-copilot-chat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md index 62920d9e320b..41c31215de24 100644 --- a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md +++ b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md @@ -96,7 +96,7 @@ For more information about these models, see [AUTOTITLE](/copilot/using-github-c ## Changing the AI model -These instructions are for the {% data variables.product.prodname_vscode %}. For instructions on different clients, click the appropriate tab at the top of this page. +These instructions are for {% data variables.product.prodname_vscode %}. For instructions on different clients, click the appropriate tab at the top of this page. {% data reusables.copilot.model-picker-enable-alternative-models %} From e94421c58ad02609626cd483de7e4b5497a40686 Mon Sep 17 00:00:00 2001 From: Sharra-writes Date: Tue, 10 Jun 2025 10:35:36 -0700 Subject: [PATCH 7/7] Update content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md --- .../ai-models/changing-the-ai-model-for-copilot-chat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md index 41c31215de24..4a5bb20d598c 100644 --- a/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md +++ b/content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md @@ -178,7 +178,7 @@ These instructions are for the JetBrains IDEs. For instructions on different cli 1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon in the status bar. 1. In the popup menu, click **Open {% data variables.copilot.copilot_chat %}**. -1. In the bottom right of the chat view, select an AI model of your choice from the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu. +1. In the bottom right of the chat view, select an AI model of your choice from the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice. {% endjetbrains %}