Open kmesiab opened 8 months ago
Heya @kmesiab, any updates here? Would be happy to give it a go or help out if needed 😄
Hey @frankie-mur , I'm traveling at the moment. Go for it!
Currently encountering a rate limit issue, seems like GPT 3.5 only allows 3 request per minute...I figured okay I will just make one request with all the diff content. This request exceeds the token limit for a request. How did we avoid this previously?
Oh interesting. Maybe they have changed something, or perhaps you are finally discovering the limit with a specific larger diff.
We will need to account for this. I was concerned we would find ourselves in this kind of situation (hence the issue ticket for creating a token relief valve back in the Ai-Code-Critic repo).
There are a few options here.
I did initially start with using lingoose (its nice!) but I thought the rate limit issues was due to the lib so I switched to use the same logic that was present in ai-code-critic but same issue arouse.
I like the first option, as supported multiple generation providers would be great as an end user, I guess my main problem is I do not have GPT+ therefore it is difficult for me to test for anything other then a very small PR.
Now that you have implemented configuration, allowing custom models should be relatively easy.
Description
Implement feature to process diff files and retrieve completions from ChatGPT in Golang, integrating results with Report Viewer React component.
Tasks
Acceptance Criteria