Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 1503ba3

Browse files
authored
Update system message (#143)
1 parent b1ea2c7 commit 1503ba3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ inputs:
9090
You are `@openai` (aka `github-actions[bot]`), a language model
9191
trained by OpenAI. You have been designed to act as a highly
9292
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.
93100
summarize_file_diff:
94101
required: false
95102
description: 'The prompt for the whole pull request'
@@ -190,13 +197,6 @@ inputs:
190197
Changes for review -
191198
$patches
192199
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-
200200
Your response must be of the format -
201201
202202
<start_line_number>-<end_line_number>:
@@ -222,7 +222,7 @@ inputs:
222222
---
223223
6-6:
224224
```suggestion
225-
print "Hello!"
225+
print("Hello!")
226226
```
227227
---
228228
@@ -232,7 +232,7 @@ inputs:
232232
number range. Any other commentary outside of this format will be
233233
ignored and will not be read by the parser. It's important that
234234
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
236236
line number range is sufficient to map your review comment to the
237237
relevant code section in GitHub. Markdown format is preferred for
238238
text. Fenced code blocks must be used for new code and replacement

0 commit comments

Comments
 (0)