oliversen / chatgpt-docstrings

VSCode extension to automatically generate docstrings using ChatGPT
https://marketplace.visualstudio.com/items?itemName=oliversen.chatgpt-docstrings
MIT License
3 stars 2 forks source link

How to avoid openai.error.RateLimitError #5

Open lotruheawea opened 4 months ago

lotruheawea commented 4 months ago

Hi, I attempted to create a docstring for a simple sum function and got

Received response 'workspace/executeCommand - (6)' in 1028ms. Request failed: openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. (-32602).

I checked my account details and I am on tier 1 with enough quota, I think. Is there any means to check which limit is hit and some options to avoid it? Thank you!

oliversen commented 4 months ago

Hi, @lotruheawea ! Thanks for your feedback. Please pay attention to your balance. It should be above zero. 01

If so, then: