From 139af15e71fa4c75d3147e951d120afc44785724 Mon Sep 17 00:00:00 2001 From: Claire W <78226508+crwaters16@users.noreply.github.com> Date: Wed, 23 Apr 2025 13:35:59 -0500 Subject: [PATCH 1/2] [Copilot] Clarify rate limits (#55385) Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com> --- .../about-premium-requests.md | 4 +++- data/reusables/copilot/unlimited-premium-requests.md | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/content/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests.md b/content/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests.md index 20e2fa01b252..59868705ae48 100644 --- a/content/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests.md +++ b/content/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests.md @@ -20,7 +20,9 @@ A request is any interaction where you ask {% data variables.product.prodname_co If you have {% data variables.product.prodname_copilot_free_short %} enabled, your {% data variables.product.github %} account comes with up to 2,000 code completions and up to 50 chats or premium requests per month. -If you're on a paid plan, you get unlimited code completions, unlimited agent requests, and unlimited chat interactions using the base model. You also receive a monthly allowance of premium requests, which can be used for advanced chat interactions, code completions using premium models, and other premium features. For an overview of the amount of premium requests included in each plan, see [AUTOTITLE](/copilot/about-github-copilot/subscription-plans-for-github-copilot#comparing-copilot-plans). +If you're on a paid plan, you get unlimited code completions, unlimited agent requests, and unlimited chat interactions using the base model. Rate limiting is in place to accommodate for high demand. Learn more about [current models and usage](/copilot/about-github-copilot/plans-for-github-copilot). + +Paid plans also receive a monthly allowance of premium requests, which can be used for advanced chat interactions, code completions using premium models, and other premium features. For an overview of the amount of premium requests included in each plan, see [AUTOTITLE](/copilot/about-github-copilot/subscription-plans-for-github-copilot#comparing-copilot-plans). ## Premium requests diff --git a/data/reusables/copilot/unlimited-premium-requests.md b/data/reusables/copilot/unlimited-premium-requests.md index c53d71b3e185..c45ea6c6ae8b 100644 --- a/data/reusables/copilot/unlimited-premium-requests.md +++ b/data/reusables/copilot/unlimited-premium-requests.md @@ -1,5 +1,9 @@ > [!IMPORTANT] -> Billing for premium requests will be enforced starting on the following dates: +> Certain requests may experience rate limits. +> * Rate limits restrict the number of requests that can be made within a specific time period. +> * High demand may result in rate limiting. +> +> Billing for premium requests will start on the following dates: > > * **May 5, 2025**: {% data variables.product.prodname_copilot_free_short %}, {% data variables.product.prodname_copilot_pro_short %}, and {% data variables.product.prodname_copilot_pro_plus_short %} > * **May 12, 2025**: Self-service (credit card) {% data variables.product.prodname_copilot_business_short %} and {% data variables.product.prodname_copilot_enterprise_short %} From 1a8348f7d1445033a814e70825672a0cf8c68191 Mon Sep 17 00:00:00 2001 From: Ashish Keshan Date: Wed, 23 Apr 2025 16:11:23 -0400 Subject: [PATCH 2/2] add in requestBody as well to help debug (#55387) --- src/events/lib/hydro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/lib/hydro.ts b/src/events/lib/hydro.ts index c34814843020..3d326d606377 100644 --- a/src/events/lib/hydro.ts +++ b/src/events/lib/hydro.ts @@ -70,7 +70,7 @@ async function _publish( ) { const error = new Error(`Failed to send event to Hydro (${statusCode})`) if (inProd) { - report(error, { statusCode, body }) + report(error, { statusCode, body, requestBody }) } else { throw error }