Open AI cost Optimization
Hey everyone! I use AI to review my diff files for pull requests. My goal is to review each hunk of the diff file, so I want the review from AI to be specific to each hunk. Currently, I loop over the hunks, and for each one, I make a request and then save the feedback with the hunk data. This approach is costly. Iโm looking for a solution to reduce the number of AI requests while still getting feedback from the AI that is specific to each hunk.