Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #36559

Merged
merged 3 commits into from
Feb 28, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,17 @@ Some features of {% data variables.product.prodname_copilot_short %} are availab
### {% data variables.product.prodname_copilot_short %} access to alternative AI models

> [!NOTE] The following models are currently in {% data variables.release-phases.public_preview %} as AI models for {% data variables.product.prodname_copilot %}, and are subject to change. The [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms) apply to your use of these products.
>
> Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_enterprise_short %}.

By default, {% data variables.product.prodname_copilot_chat_short %} uses the GPT-4o model. If you grant access to the alternative models, members of your enterprise can choose to use these models rather than the default GPT-4o 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_gemini_flash %}**. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-gemini-flash-in-github-copilot).
* **OpenAI's o1 and o3 models**
* **OpenAI's models:**
* **o1**: This model is focused on advanced reasoning and solving complex problems, in particular in math and science. It responds more slowly than the GPT-4o model. Each member of your enterprise can make 10 requests to this model per day.
* **o3-mini**: This is the next generation of reasoning models, following from o1 and o1-mini. The o3-mini model outperforms o1 on coding benchmarks with response times that are comparable to o1-mini, providing improved quality at nearly the same latency. It is best suited for code generation and small context operations. Each member of your enterprise can make 50 requests to this model every 12 hours.
* **o3-mini**: This is the next generation of reasoning models, following from o1 and o1-mini. The o3-mini model outperforms o1 on coding benchmarks with response times that are comparable to o1-mini, providing improved quality at nearly the same latency. It is best suited for code generation and small context operations. Each member of your enterprise can make 50 requests to this model every 12 hours. {% ifversion copilot-enterprise %}
* **GPT-4.5**: This model is designed with advanced capabilities in intuition, writing style, and broad knowledge. It performs effectively with creative prompts and provides reliable responses to obscure knowledge queries. Each member of your enterprise can make 10 requests to this model every 12 hours. {% endif %}

### {% data variables.product.prodname_copilot_short %} Metrics API access

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ Billing for {% data variables.product.prodname_copilot %} starts when you grant
{% data reusables.profile.org_settings %}
{% data reusables.copilot.access-settings %}
1. If the **Allow this organization to assign seats** button is displayed, click this button.
1. If you see the message "Configure code policies to start adding seats":
1. Click **Go to policies**.
1. Set any policies that are currently set to "Unconfigured".
1. In the left sidebar, click **Access**.
1. Under {% ifversion ghec %}"{% data variables.product.prodname_copilot_enterprise_short %} is active in your organization" or {% endif %}"{% data variables.product.prodname_copilot_business_short %} is active in your organization," to enable {% data variables.product.prodname_copilot %} for all current and future users in your organization, select **Enabled For: All members of the organization**.
1. In the "Confirm seats purchase" dialog, to confirm that you want to enable {% data variables.product.prodname_copilot %} for all current and future users in your organization, click **Purchase seats**.
1. Click **Start adding seats**.
1. To enable {% data variables.product.prodname_copilot %} for all current and future users in your organization, select **Purchase for all members**.
1. In the "Confirm seats purchase for all members" dialog, to confirm that you want to enable {% data variables.product.prodname_copilot %} for all current and future users in your organization, click **Purchase seats**.

## Granting access to {% data variables.product.prodname_copilot %} for specific users in your organization

Expand All @@ -47,15 +44,8 @@ Billing for {% data variables.product.prodname_copilot %} starts when you grant
{% data reusables.profile.org_settings %}
{% data reusables.copilot.access-settings %}
1. If the **Allow this organization to assign seats** button is displayed, click this button.
1. If you see the message "Configure code policies to start adding seats":
1. Click **Go to policies**.
1. Set any policies that are currently set to "Unconfigured".
1. In the left sidebar, click **Access**.
1. Under {% ifversion ghec %}"{% data variables.product.prodname_copilot_enterprise_short %} is active in your organization" or {% endif %}"{% data variables.product.prodname_copilot_business_short %} is active in your organization," to enable {% data variables.product.prodname_copilot %} for selected teams or users in your organization, select **Enabled For: Selected members**.
1. If you are updating user access from the **Enabled For: All members of the organization** setting, in the "Confirm policy update" dialog, select how you want to start assigning access.
* To unassign all members and then select those who should have access, select **Start from scratch**.
* To keep all members who currently have access and then select those who should not have access, select **Renew seats**.
1. Click **Assign {% data variables.product.prodname_copilot_short %} seats**.
1. Click **Start adding seats**.
1. To enable {% data variables.product.prodname_copilot %} for selected teams or users in your organization, select **Purchase for selected members**.
1. In the "Enable Copilot access for users and teams" dialog, click one of the two tabs.

![Screenshot of the "enable access for selected members" dialog.](/assets/images/help/copilot/enable-access-for-selected-members.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ Changing the model that's used by {% data variables.product.prodname_copilot_cha
{% webui %}

> [!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.
> * Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change. {% ifversion copilot-enterprise %}
> * Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_enterprise_short %}. {% endif %}
> * You can only use an alternative AI model in the immersive view of {% data variables.product.prodname_copilot_chat_short %}. This is the full-page version of {% data variables.product.prodname_copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.product.prodname_copilot_chat_short %} panel always uses the default model.

## AI models for {% data variables.product.prodname_copilot_chat_short %}

The following models are currently available in the immersive mode of {% data variables.product.prodname_copilot_chat_short %}:

* {% data reusables.copilot.model-description-gpt-4o %}
* {% data reusables.copilot.model-description-gpt-4o %} {% ifversion copilot-enterprise %}
* {% data reusables.copilot.model-description-gpt-4-5 %} {% endif %}
* {% data reusables.copilot.model-description-claude-sonnet-37 %}
* {% data reusables.copilot.model-description-claude-sonnet-35 %}
* {% data reusables.copilot.model-description-gemini-flash %}
Expand All @@ -35,7 +37,7 @@ The following models are currently available in the immersive mode of {% data va

For more information about these models, see:

* **OpenAI's GPT-4o, o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models/models) in the OpenAI Platform documentation.
* **OpenAI's GPT-4o,{% ifversion copilot-enterprise %} GPT-4.5,{% endif %} o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models) in the OpenAI Platform documentation.
* **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).

Expand All @@ -48,7 +50,7 @@ For more information about these models, see:

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.

{% data reusables.copilot.model-picker-enable-o1-models %}
{% data reusables.copilot.model-picker-enable-alternative-models %}

> [!NOTE] If you use {% data variables.product.prodname_copilot_extensions_short %}, they may override the model you select.

Expand All @@ -62,13 +64,16 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o

{% vscode %}

> [!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.
> [!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. {% ifversion copilot-enterprise %}
> * Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_enterprise_short %}. {% endif %}

## 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-gpt-4o %} {% ifversion copilot-enterprise %}
* {% data reusables.copilot.model-description-gpt-4-5 %} {% endif %}
* {% data reusables.copilot.model-description-claude-sonnet-37 %}
* {% data reusables.copilot.model-description-claude-sonnet-35 %}
* {% data reusables.copilot.model-description-gemini-flash %}
Expand All @@ -77,15 +82,15 @@ The following models are currently available through multi-model {% data variabl

For more information about these models, see:

* **OpenAI's GPT-4o, o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models/models) in the OpenAI Platform documentation.
* **OpenAI's GPT-4o,{% ifversion copilot-enterprise %} GPT-4.5,{% endif %} o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models) in the OpenAI Platform documentation.
* **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

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.

{% data reusables.copilot.model-picker-enable-o1-models %}
{% data reusables.copilot.model-picker-enable-alternative-models %}

{% data reusables.copilot.chat-model-limitations-ide %}

Expand All @@ -110,7 +115,7 @@ The following models are currently available through multi-model {% data variabl

For more information about these models, see:

* **OpenAI's GPT-4o, o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models/models) in the OpenAI Platform documentation.
* **OpenAI's GPT-4o, o1, and o3-mini models**: [Models](https://platform.openai.com/docs/models) in the OpenAI Platform documentation.
* **Anthropic's {% data variables.copilot.copilot_claude_sonnet %} models**: [AUTOTITLE](/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot).

## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
Expand All @@ -119,7 +124,7 @@ These instructions are for {% data variables.product.prodname_vs %}. For {% data

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-o1-models %}
{% data reusables.copilot.model-picker-enable-alternative-models %}

{% data reusables.copilot.chat-model-limitations-ide %}

Expand Down
1 change: 1 addition & 0 deletions data/reusables/copilot/model-description-gpt-4-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**GPT-4.5:** This model is designed with advanced capabilities in intuition, writing style, and broad knowledge. It performs effectively with creative prompts and provides reliable responses to obscure knowledge queries. Learn more about the [model's capabilities](https://platform.openai.com/docs/models#gpt-4-5) and review the [model card](https://openai.com/index/gpt-4--system-card/). GPT-4.5 is hosted on Azure.
2 changes: 1 addition & 1 deletion data/reusables/copilot/model-description-gpt-4o.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**GPT-4o:** This is the default {% data variables.product.prodname_copilot_chat_short %} model. It is a versatile, multimodal model that excels in both text and image processing and is designed to provide fast, reliable responses. It also has superior performance in non-English languages. Learn more about the [model's capabilities](https://platform.openai.com/docs/models/gpt-4o) and review the [model card](https://openai.com/index/gpt-4o-system-card/). GPT-4o is hosted on Azure.
**GPT-4o:** This is the default {% data variables.product.prodname_copilot_chat_short %} model. It is a versatile, multimodal model that excels in both text and image processing and is designed to provide fast, reliable responses. It also has superior performance in non-English languages. Learn more about the [model's capabilities](https://platform.openai.com/docs/models#gpt-4o) and review the [model card](https://openai.com/index/gpt-4o-system-card/). GPT-4o is hosted on Azure.
2 changes: 1 addition & 1 deletion data/reusables/copilot/model-description-o1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**o1:** This model is focused on advanced reasoning and solving complex problems, in particular in math and science. It responds more slowly than the GPT-4o model. You can make 10 requests to this model per day. Learn more about the [model's capabilities](https://platform.openai.com/docs/models/o1) and review the [model card](https://openai.com/index/openai-o1-system-card/). o1 is hosted on Azure.
**o1:** This model is focused on advanced reasoning and solving complex problems, in particular in math and science. It responds more slowly than the GPT-4o model. You can make 10 requests to this model per day. Learn more about the [model's capabilities](https://platform.openai.com/docs/models#o1) and review the [model card](https://openai.com/index/openai-o1-system-card/). o1 is hosted on Azure.
13 changes: 7 additions & 6 deletions src/frame/pages/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ const MyApp = ({ Component, pageProps, languagesContext }: MyAppProps) => {

useEffect(() => {
initializeEvents()
initializeExperiments(
router.locale as string,
pageProps.mainContext.currentVersion,
pageProps.mainContext.allVersions,
)
if (pageProps.mainContext) {
initializeExperiments(
router.locale as string,
pageProps.mainContext.currentVersion,
pageProps.mainContext.allVersions,
)
}
}, [])

useEffect(() => {
Expand Down Expand Up @@ -138,7 +140,6 @@ MyApp.getInitialProps = async (appContext: AppContext) => {
}
}
}

return {
...appProps,
languagesContext,
Expand Down