From b181e8ecd99cfe2e5a4420557b61108e35880c01 Mon Sep 17 00:00:00 2001 From: Paul Loeb <90000203+thispaul@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:23:52 -0800 Subject: [PATCH 1/3] add common error about rate limits (#54079) Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> --- ...roubleshooting-common-issues-with-github-copilot.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md b/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md index df9cb1db5c37..38566015daf2 100644 --- a/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md +++ b/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md @@ -60,6 +60,16 @@ This error suggests that a classic or fine-grained {% data variables.product.pat For more information, see the [{% data variables.product.prodname_copilot_cli_short %} extension repository](https://github.com/github/gh-copilot). +## Error: "Sorry, your request was rate-limited." + +This error suggests that you have exceeded the rate limit for {% data variables.product.prodname_copilot_short %} requests. {% data variables.product.github %} uses rate limits to ensure everyone has fair access to the {% data variables.product.prodname_copilot_short %} service and to protect against abuse. + +Most people see rate limiting for preview models, like OpenAI’s o1 and o1-mini, which are rate-limited due to limited capacity. + +Service-level request rate limits ensure high service quality for all {% data variables.product.prodname_copilot_short %} users and should not affect typical or even deeply engaged {% data variables.product.prodname_copilot_short %} usage. We are aware of some use cases that are affected by it. {% data variables.product.github %} is iterating on {% data variables.product.prodname_copilot_short %}’s rate-limiting heuristics to ensure it doesn’t block legitimate use cases. + +In case you experience repeated rate-limiting in {% data variables.product.prodname_copilot_short %}, contact {% data variables.contact.contact_support_page %}. + ## Further reading * [AUTOTITLE](/free-pro-team@latest/site-policy/other-site-policies/github-and-trade-controls) From 2f7d870943b02b0d1060f6d3d70150525432769a Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Tue, 28 Jan 2025 09:30:18 +0100 Subject: [PATCH 2/3] [Improvement]: Update the "Installing the GitHub Copilot extension in your environment" for VS Code (#54074) --- ...b-copilot-extension-in-your-environment.md | 29 ++++++++++--------- ...estions-in-your-ide-with-github-copilot.md | 2 +- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md b/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md index 4b562ceb143c..16fee7a8d92c 100644 --- a/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md +++ b/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md @@ -1,7 +1,7 @@ --- title: Installing the GitHub Copilot extension in your environment shortTitle: Install Copilot extension -intro: 'To use {% data variables.product.prodname_copilot_short %} in your preferred coding environment, you must install the {% data variables.product.prodname_copilot %} extension.' +intro: 'To use {% data variables.product.prodname_copilot_short %} in your preferred coding environment, follow the steps for your chosen IDE.' versions: feature: copilot defaultTool: vscode @@ -11,6 +11,15 @@ redirect_from: - /copilot/configuring-github-copilot/installing-the-github-copilot-extension-in-your-environment --- +## Getting access to {% data variables.product.prodname_copilot %} + +There are different ways to get access to {% data variables.product.prodname_copilot_short %}. + +| Type of user | How to get access to {% data variables.product.prodname_copilot_short %} | +| --- | --- | +| Individual | | +| Organization{% ifversion ghec %}/Enterprise member{% endif %} | | + {% azure_data_studio %} ## About the {% data variables.product.prodname_copilot %} extension in Azure Data Studio @@ -162,25 +171,19 @@ Starting from {% data variables.product.prodname_vs %} 2022 Version 17.10, the u {% vscode %} -## About the {% data variables.product.prodname_copilot %} extension in {% data variables.product.prodname_vscode %} +## About {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} -Installing the {% data variables.product.prodname_copilot %} extension in {% data variables.product.prodname_vscode %} allows you to receive coding suggestions from {% data variables.product.prodname_copilot_short %} as you type. It also automatically installs the {% data variables.product.prodname_copilot_chat %} extension, which allows you to chat with {% data variables.product.prodname_copilot_short %}. +{% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} allows you to receive coding suggestions from {% data variables.product.prodname_copilot_short %} as you type. You also automatically get access to {% data variables.product.prodname_copilot_chat %}, which allows you to chat with {% data variables.product.prodname_copilot_short %}. To see instructions for other popular coding environments, use the tool switcher at the top of the page. -### Version compatibility - -{% data reusables.copilot.vscode-version-compatibility %} - -## Installing the {% data variables.product.prodname_copilot %} extension in {% data variables.product.prodname_vscode %} - -1. Make sure you have access to {% data variables.product.prodname_copilot %}. For information, see [AUTOTITLE](/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot). +## Setting up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} -1. Install {% data variables.product.prodname_vscode %}. See the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download). +When you set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} for the first time, the required extensions are installed automatically. You don't need to download or install them manually. -1. Install the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) in {% data variables.product.prodname_vscode %}. For detailed instructions, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the {% data variables.product.prodname_vscode %} documentation. +For detailed instructions, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup#_set-up-copilot-in-vs-code) in the {% data variables.product.prodname_vscode %} documentation. - >[!NOTE] {% data reusables.copilot.sign-in-ghecom %} See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom?tool=vscode#authenticating-from-vs-code). +>[!NOTE] {% data reusables.copilot.sign-in-ghecom %} See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom?tool=vscode#authenticating-from-vs-code). {% endvscode %} diff --git a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md index 2a212f61602b..175f3870956c 100644 --- a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md +++ b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md @@ -215,7 +215,7 @@ The examples in this guide use JavaScript, however other languages will work sim * **{% data variables.product.prodname_vscode %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you must have {% data variables.product.prodname_vscode %} installed. For more information, see the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download). -* **{% data variables.product.prodname_copilot_short %} extension for {% data variables.product.prodname_vscode %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you must install the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot). For more information, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the {% data variables.product.prodname_vscode %} documentation. +* **{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %}**. When you set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} for the first time, the required extensions are installed automatically. You don't need to download or install them manually. For detailed instructions, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the {% data variables.product.prodname_vscode %} documentation. ## Getting code suggestions From 5dfb5694a03ac203e3a44cfbaa1ebca71d7b8790 Mon Sep 17 00:00:00 2001 From: Greg Mondello <72952982+gmondello@users.noreply.github.com> Date: Tue, 28 Jan 2025 02:31:33 -0600 Subject: [PATCH 3/3] Adding note to explain default unlimited behavior (#54127) --- .../using-the-new-billing-platform/preventing-overspending.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/billing/using-the-new-billing-platform/preventing-overspending.md b/content/billing/using-the-new-billing-platform/preventing-overspending.md index b0c8d3266ef1..36f30a2ed2ed 100644 --- a/content/billing/using-the-new-billing-platform/preventing-overspending.md +++ b/content/billing/using-the-new-billing-platform/preventing-overspending.md @@ -23,6 +23,9 @@ Budgets are not applicable to: * {% ifversion enterprise-licensing-language %}License{% else %}Seat{% endif %}-based products such as {% data variables.product.prodname_copilot %}{% ifversion fpt %} and {% data variables.product.prodname_team %}{% elsif ghec %}, {% data variables.product.prodname_GH_advanced_security %}, and {% data variables.product.prodname_enterprise %}. * Pre-paid volume licenses{% endif %}. +> [!NOTE] +> By default, paid usage will be limited to $0 for accounts that do not have a payment method on file. For accounts that do have a payment method on file, the default budget is unlimited. + ## Viewing budgets If you are an {% data variables.enterprise.enterprise_or_org %} owner or billing manager, your {% data variables.enterprise.enterprise_or_org %}'s budget will be listed at the top of the "Budgets and alerts" page{% ifversion ghec %}, followed by the budgets for your organizations and cost centers. As an organization owner, you will be able to view the budgets for your organizations, repositories, and cost centers{% endif %}.