Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
21.64k stars 2.01k forks source link

Issue with openai reporting top many call to api #2214

Open DMTarmey opened 1 week ago

DMTarmey commented 1 week ago

Issue

I have ongoing issue with my openai api reporting an error if contacted openai they have made changes to my account inclding increasing my allowance but i still keep getting same error {'message': '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/ap i-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} Retrying in 4.0 seconds... litellm.RateLimitError: RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': '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/ap i-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} Retrying in 8.0 seconds... litellm.RateLimitError: RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': '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/ap i-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} Retrying in 16.0 seconds... litellm.RateLimitError: RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': '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/ap i-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} Retrying in 32.0 seconds... litellm.RateLimitError: RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': '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/ap i-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Version and model info

Most up to date as of today

DMTarmey commented 1 week ago

whilst trying to use aider there were errors so i asked aider to fix them, is it possible that it broke the system rather than fixed it ?

paul-gauthier commented 1 week ago

Thanks for trying aider and filing this issue.

The OpenAI servers are refusing your requests because you've run out of quota. See the link they included:

https://platform.openai.com/docs/guides/error-codes/api-errors

DMTarmey commented 1 week ago

OK i contacted openai and they have checked i have credit and they have even increaded it and assured me there are no reason for this error, i did ask aider to fix and issue is it possible that aider in fasct intrducted and issue making aider make repeated connecton in a loop and getting this error.