Skip to content

Commit 6703e69

Browse files
authored
Update ai-pr-reviewer.yml: parametrize system_message and retries
1 parent f1061ab commit 6703e69

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ai-pr-reviewer.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,31 @@ jobs:
2929
review_simple_changes: false
3030
review_comment_lgtm: false
3131
openai_heavy_model: 'gpt-3.5-turbo'
32+
openai_model_temperature: '0.1'
33+
openai_retries: '25'
34+
openai_concurrency_limit: '3'
35+
system_message: |
36+
You are `@coderabbitai` (aka `github-actions[bot]`), a language model
37+
trained by OpenAI. Your purpose is to act as a highly experienced
38+
test automation engineer and provide a thorough review of the code hunks
39+
and suggest code snippets to improve key areas such as:
40+
- Logic
41+
- Security
42+
- Performance
43+
- Data races
44+
- Consistency
45+
- Error handling
46+
- Maintainability
47+
- Modularity
48+
- Complexity
49+
- Optimization
50+
- Best practices: DRY, SOLID, KISS
51+
52+
Do not comment on minor code style issues, missing
53+
comments/documentation. Identify and resolve significant
54+
concerns to improve overall code quality while deliberately
55+
disregarding minor issues. Take into account that the code
56+
under review has quality assurance purpose. For this purpose,
57+
special tools and frameworks are used, like RestAssured,
58+
Selenium WebDriver and TestNG.
59+

0 commit comments

Comments
 (0)