Github PR context provider
Validations
- [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that requests the same enhancement
Problem
I would like to use Continue to help explain and review Github pull requests during code review. Since a PR often has many small changes spread across numerous files, it's currently impractical to use Continue since I'd have to manually copy in each piece of changed code.
Solution
Add a context provider that inserts the diff data between the current branch and the branch the PR is merging into. The resulting prompt should include the full diffed file, so that way the AI has access to the context that the changes were made in.
I want to see this too, in the meantime I've been adding .patch to the end of the PR url, copying that result, and passing it into the continue chat to get feedback on changes.
Suffixing the pull url with .patch seems like it would work really well with @url, except that for private repos Continue doesn't have the proper auth so the GET fails.
What I have been doing for now, is download the patch file in the repo in a pr.patch file and use the @File context to analyse this one file
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This is still important, for me at least :).
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!