mirror of
https://github.com/Pull-Pal/pull-pal.git
synced 2024-11-17 18:05:54 -05:00
ab7521477a
add a section of the main loop that checks for comments on PRs that the bot has opened reworks git logic and adds debug commands for git and llm stuff changes a bunch of other stuff too
33 lines
805 B
Cheetah
33 lines
805 B
Cheetah
File:
|
|
- name: {{ .File.Path }}:
|
|
contents:
|
|
```
|
|
{{ .File.Contents }}
|
|
```
|
|
|
|
Diff:
|
|
{{ .Diff }}
|
|
|
|
Comment:
|
|
{{ .Contents }}
|
|
|
|
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 directly below "Response Template A"
|
|
If the comment is a request, modify the file provided at the beginning of the message, and respond exactly as outlined directly below "Response Template B".
|
|
|
|
Response Template A:
|
|
Q
|
|
[your answer]
|
|
|
|
Response Template B:
|
|
R
|
|
Files:
|
|
ppname: {{ .File.Path }}
|
|
ppcontents:
|
|
[new {{ .File.Path }} contents]
|
|
|
|
ppresponse:
|
|
[additional context about your changes]
|