-
Notifications
You must be signed in to change notification settings - Fork 601
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
Github action fails for lage PRs #23
Comments
OpenAI seems to return following headers:
If anyone has good solutions in mind for rate limiting, I'm open for suggestions (and pull requests)! :) |
@villesau you could consider using the chat model and re-prompting with chunks of files until that whole PR has been consumed by OpenAI. If i'm reading the issue correctly, the rate limit is on the single request? |
@gad2103 can you elaborate a bit? Maybe a rudimentary example payload? Now it reviews chunks one by one which might cause the action to hit rate limits if the pr has many chunks. I'm very open for any ideas to improve the action<->OpenAI communication as it definitely has it's problems, such as not understanding the whole context of the pull request and so on. |
Hi everybody, I'm getting a rate limit response but in my case it's from Github API. This is because the Action is sending a lot of comments in a single request. I'm gonna try to send the comments split into different requests. |
Hi,
for PRs containing 50+ files github action fails due to rate-limiting error received from openAI API., can someone make some improvements in this direction?
Thanks!
The text was updated successfully, but these errors were encountered: