mirror of
https://github.com/Pull-Pal/pull-pal.git
synced 2024-09-07 20:45:16 -04:00
add template for responding to PR comments
This commit is contained in:
parent
10c77854a9
commit
50db4d6d0e
32
llm/comment-diff-request.tmpl
Normal file
32
llm/comment-diff-request.tmpl
Normal file
@ -0,0 +1,32 @@
|
||||
File:
|
||||
- name: {{ .Path }}:
|
||||
contents:
|
||||
```
|
||||
{{ .Contents }}
|
||||
```
|
||||
|
||||
Diff:
|
||||
{{ .Diff }}
|
||||
|
||||
Comment:
|
||||
{{ .Comment }}
|
||||
|
||||
The above is information about a comment left on a file. The diff contains information about the precise location of the comment.
|
||||
|
||||
First, determine if the comment is a question or a request for changes.
|
||||
If the comment is a question, come up with an answer, and respond exactly as outlined in "Response Template A"
|
||||
If the comment is a request, modify the file provided at the beginning of the message, and respond exactly as outlined in "Response Template B".
|
||||
|
||||
Response Template A:
|
||||
Q
|
||||
[your answer]
|
||||
|
||||
Response Template B:
|
||||
R
|
||||
Files:
|
||||
- name: {{ .Path }}
|
||||
contents:
|
||||
[new {{ .Path }} contents]
|
||||
|
||||
Response:
|
||||
[additional context about your changes]
|
Loading…
Reference in New Issue
Block a user