mirror of
https://github.com/Pull-Pal/pull-pal.git
synced 2024-11-08 03:08:35 -05:00
d92efcb7e9
improve prompt templates to get response in yaml format and make parsing easier also add debug file functionality so that exact input, prompts, and output can be easily seen for every request
25 lines
532 B
Cheetah
25 lines
532 B
Cheetah
Files:
|
|
{{ range $index, $file := .Files }}
|
|
- name: {{ $file.Path }}:
|
|
contents:
|
|
```
|
|
{{ $file.Contents }}
|
|
```
|
|
{{ end }}
|
|
|
|
Modify the files above to accomplish the following task:
|
|
Subject: {{ .Subject }}
|
|
Body:
|
|
{{ .Body }}
|
|
|
|
Respond in a parseable YAML format based on the following template. Respond only with YAML, and nothing else:
|
|
files:
|
|
{{ range $index, $file := .Files }}
|
|
-
|
|
path: {{ $file.Path }}
|
|
contents: |
|
|
[new {{ $file.Path }} contents]
|
|
{{ end }}
|
|
notes: |
|
|
[additional context about your changes]
|