sturdy-dev / codereview.gpt

Reviews your Pull/Merge Requests using ChatGPT
MIT License
550 stars 68 forks source link

Fails with big PR-s #4

Closed wolasss closed 1 year ago

wolasss commented 1 year ago

If there are many files na changes in the PR (for me it fails with +256 −41 PR), GPT fails with the message:

{"message":"The message you submitted was too long, please reload the conversation and submit something shorter.","code":"message_length_exceeds_limit"}

Maybe it would be useful to split the patch changes and send separate requests for each change?

nickveenhof commented 1 year ago

This should no longer be an issue with https://github.com/sturdy-dev/codereview.gpt/pull/14 merged