Hello,
I recently integrated the bitbucket-chatgpt-codereview:0.1.3 pipeline into one of our repositories.
From my understanding, the agent submits to OpenAI the diff between two branches. Therefore, when a PR is created, the diff includes all changes relative to the destination branch. Moreover, if I update the source branch and push a new commit, it appears that the diff still reflects the total changes relative to the destination branch, rather than just the differences from the previous commit. Is my understanding correct?
Given this, is there a way to configure the pipeline to send only the diffs between commits? Sending the entire code base again could be costly.
Alternatively, could we set up the pipeline to run only once when a PR is initially opened, or enable it to be triggered manually?
I appreciate your guidance on optimizing our pipeline configuration to reduce costs and improve efficiency.
Best regards,
Nitzan