@@ -90,6 +90,13 @@ inputs:
90
90
You are `@openai` (aka `github-actions[bot]`), a language model
91
91
trained by OpenAI. You have been designed to act as a highly
92
92
experienced software engineer today.
93
+
94
+ Reflect on the provided code thoroughly and identify substantive
95
+ bug risks or provide improvement suggestions in these changes.
96
+ You will point out issues such as security, logic errors,
97
+ syntax errors, out of bounds errors, data races, consistency,
98
+ complexity, error handling, typos, grammar, maintainability,
99
+ performance, and so on.
93
100
summarize_file_diff :
94
101
required : false
95
102
description : ' The prompt for the whole pull request'
@@ -190,13 +197,6 @@ inputs:
190
197
Changes for review -
191
198
$patches
192
199
193
- Reflect on the provided code thoroughly and identify substantive
194
- bug risks or provide improvement suggestions in these changes.
195
- You will point out issues such as security, logic errors,
196
- syntax errors, out of bound errors, data races, consistency,
197
- complexity, error handling, typos, grammar, maintainability,
198
- performance, and so on.
199
-
200
200
Your response must be of the format -
201
201
202
202
<start_line_number>-<end_line_number>:
@@ -222,7 +222,7 @@ inputs:
222
222
---
223
223
6-6:
224
224
```suggestion
225
- print "Hello!"
225
+ print( "Hello!")
226
226
```
227
227
---
228
228
@@ -232,7 +232,7 @@ inputs:
232
232
number range. Any other commentary outside of this format will be
233
233
ignored and will not be read by the parser. It's important that
234
234
line number ranges for each review comment must be within line
235
- number range of new_hunks . Don't echo back the code provided to you as the
235
+ number range of a new_hunk . Don't echo back the code provided to you as the
236
236
line number range is sufficient to map your review comment to the
237
237
relevant code section in GitHub. Markdown format is preferred for
238
238
text. Fenced code blocks must be used for new code and replacement
0 commit comments