continue icon indicating copy to clipboard operation
continue copied to clipboard

Github PR context provider

Open StructByLightning opened this issue 1 year ago • 1 comments

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.

StructByLightning avatar Sep 11 '24 15:09 StructByLightning

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.

fourseven avatar Sep 25 '24 03:09 fourseven

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.

vladiliescu avatar Oct 10 '24 08:10 vladiliescu

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

MalcolmMielle avatar Nov 21 '24 09:11 MalcolmMielle

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.

github-actions[bot] avatar Mar 03 '25 04:03 github-actions[bot]

This is still important, for me at least :).

vladiliescu avatar Mar 03 '25 07:03 vladiliescu

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.

github-actions[bot] avatar Jun 06 '25 02:06 github-actions[bot]

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!

github-actions[bot] avatar Jun 16 '25 02:06 github-actions[bot]