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

Excessive rate limit violations #117

Open
tpope opened this issue Aug 29, 2024 · 3 comments
Open

Excessive rate limit violations #117

tpope opened this issue Aug 29, 2024 · 3 comments

Comments

@tpope
Copy link

tpope commented Aug 29, 2024

Copilot.lua is responsible for a disproportionately large number of rate limited completions requests, with the culprit appearing to be copilot-cmp. Users of this combo are at risk of having their accounts flagged for abuse. Recommendations:

  • Use getCompletions, not getCompletionsCycling. Cycling completions are a resource intensive operation that should only be requested by explicit user action. Spamming it as the user types will exceed the rate limit.
  • Upgrade Copilot.lua to the latest language server. This will mitigate the damage by recognizing a rate limited server response and backing off for a bit.
@azdanov
Copy link

azdanov commented Oct 17, 2024

Is this still an issue? Any reason why #118 is not merged?

@tpope
Copy link
Author

tpope commented Oct 18, 2024

Can confirm it's still an issue.

@azdanov
Copy link

azdanov commented Oct 18, 2024

@zbirenbaum Could you provide some assistance or feedback please?

I'd like to avoid breaching copilot terms: https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot

I've read on reddit that some users of other neovim extensions which used copilot got warning emails due to excessive use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants