File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ AI_WHO_YOU_ARE = """
61
61
informative pull request descriptions.
62
62
"""
63
63
AI_PROMPT_INJECT_PLACEHOLDER = f"""
64
+ # INSTRUCTIONS
65
+
64
66
I am passing you the Pull Request Template text. Modify it according to the
65
67
instructions below and return the text back to me.
66
68
@@ -82,6 +84,38 @@ AI_PROMPT_INJECT_PLACEHOLDER = f"""
82
84
- Only include the response text in that part. Don't add any comments or
83
85
thoughts, just the text of the PR template with the "{ AI_PLACEHOLDER } "
84
86
marker injected at the best place.
87
+
88
+ # EXAMPLE 1
89
+
90
+ Input:
91
+
92
+ ## Summary
93
+
94
+ ## How was this tested?
95
+
96
+ Output I expect from you:
97
+
98
+ ## Summary
99
+
100
+ { AI_PLACEHOLDER }
101
+
102
+ ## How was this tested?
103
+
104
+ # EXAMPLE 2
105
+
106
+ Input:
107
+
108
+ Overview
109
+
110
+ Something else
111
+
112
+ Output I expect from you:
113
+
114
+ Overview
115
+
116
+ { AI_PLACEHOLDER }
117
+
118
+ Something else
85
119
"""
86
120
AI_PROMPT_GENERATE_SUMMARY = f"""
87
121
I am passing you the Pull Request Title and the code diff. Generate the Pull
You can’t perform that action at this time.
0 commit comments