-
Notifications
You must be signed in to change notification settings - Fork 172
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
ERROR HTTPStatus Exception: Client error '429 Too Many Requests' for url 'https://api.openai.com/v1/chat/completions' #61
Comments
Hi @ataur39n-sharif I just pulled the latest image and ran you're repo. Can you try once more with the latest and let me know if you still experience this? Thanks! |
@Cro22 @ataur39n-sharif Are you using a free OpenAI account or payment method? |
@eli64s I use the paid OpenAI Account |
@eli64s I am using a free account of OpenAI |
I'm also getting the same 429 error on my readme using [https://readmeai.streamlit.app/] |
why not add rate limiting ? |
@Aviksaikat There is a default rate limit setting in the config file This seems like a common issue for unpaid accounts, but still happens for paid accounts occasionally. I may need to work on a more robust API implementation to solve this problem for everyone. |
@eli64s should we increase or decrease the rate_limit variable? |
it should be decreased. |
how can we update the config file ? |
that rate_limit field it totally useless. |
Got the same error and using a paid api-key. Is there any workaround? |
I encountered the same issue and resolved it by switching the model to gpt-4-1106-preview. After forking the repository and reviewing the code, it appears that the issue stems from a limitation with the default gpt-4 model. The README also indicates that it uses gpt-4-1106-preview. I've implemented these changes in my local files and added a troubleshooting section to the README. As a temporary fix, you can use the following command: readmeai --output readme-ai.md --model gpt-4-1106-preview --repository https://github.com/eli64s/readme-ai. However, this is my first time contributing to a project, and I'm not entirely sure about the proper procedures for contributing. |
@abhi245y that is correct, using the model engine Warning During brief testing of the Thank you, |
Yah you are right, when I gave the script a few runs during testing, my usage shot up from 0.21$ to 1.4$ real quick. But if you're just using it once, it's no big deal. I also noticed that you switched the model to gpt-4-1106-preview and then reverted it back to gpt-4. At first, I didn't understand why, but now it makes sense. |
Had issues with |
I am using this with Docker. Here I providing some error messages--
my command is -
docker run -it \ -e OPENAI_API_KEY=API_KEY \ -v "$(pwd)":/app zeroxeli/readme-ai:latest \ readmeai -o readme-ai.md -r https://github.com/ataur39n-sharif/book-catelog-backend
Error -
ERROR HTTPStatus Exception:
Client error '429 Too Many Requests' for url 'https://api.openai.com/v1/chat/completions'
For more information check: https://httpstatuses.com/429
images -
The text was updated successfully, but these errors were encountered: