bitswired / lazycodr

A CLI tool to help lazy coders get the work done with AI (commit messages, pull requests ...). Because a LAZY programmer is a GREAT programmer 😜

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't seem to work?

arjaygallentes opened this issue · comments

Hi,
Great tool and an excellent youtube video!

Anyway, I tried using the tool, but it isn't working now.

I'm getting the following:

image

I tried changing both the PR and the OpenAPI and Github keys.
Any idea?

Looks like this issue happens when the diff size is larger than the Open API limit.

Thank you @arjaygallentes! I'm glad you liked it.
I'm sorry I didn't see your issue back then.

So you had the problem because OpenAI could not generate enough?

Currently I'm using a refine chain that processes the diff in block of fixed amount of tokens and it refines the answer a bit each time.
But it looks like it's not working well in your case ...

I will look into a solution.