Skip to content

Commit 96a1c55

Browse files
committed
fix: update diff repair instructions in templates
1 parent 523bb10 commit 96a1c55

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

core/src/main/resources/genius/en/code/repair-diff.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Please help me repair the diff, follow GNU unified diff format, and return all repaired code.
1+
Please according the diff to repair the code, and return the repaired final code.
22

33
Here is the original code: ${context.oldCode}
44

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
Please help me repair the diff, follow GNU unified diff format, and return all repaired code.
1+
请根据我的原始代码和失败的 patch,生成最终的完整代码。
22

3-
Here is the original code: ${context.oldCode}
3+
Here is the original code:
4+
5+
${context.oldCode}
46

57
Here is the patched code:
68

79
${context.patchedCode}
10+
11+
请返回应用 patch 后的最终代码。

0 commit comments

Comments
 (0)