Skip to content

Commit 4e1fc5c

Browse files
committedFeb 23, 2024
include missing file
1 parent c678433 commit 4e1fc5c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
 

‎pilot/helpers/agents/CodeMonkey.py

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def implement_code_changes(
110110
content = convo.send_message('development/review_feedback.prompt', {
111111
"content": content,
112112
"original_content": file_content,
113+
"rework_feedback": rework_feedback,
113114
})
114115
if content:
115116
content = self.remove_backticks(content)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Your changes have been reviewed.
2+
{% if content != original_content %}
3+
THe reviewer approved and applied some of your changes, but requested you rework the others.
4+
5+
Here's the file with the approved changes already applied:
6+
```
7+
{{ content }}
8+
```
9+
10+
Here's the reviewer's feedback:
11+
{% else %}
12+
The reviewer requested that you rework your changes, here's the feedback:
13+
{% endif %}
14+
15+
{{ rework_feedback }}
16+
17+
Based on this feedback and the original instructions, think carefully, make the correct changes, and output the entire file again. Remember, Output ONLY the content for this file, without additional explanation, suggestions or notes. Your output MUST start with ``` and MUST end with ``` and include only the complete file contents.

0 commit comments

Comments
 (0)