Skip to content

Commit

Permalink
Update ai-pr-reviewer.yml: parametrize system_message and retries
Browse files Browse the repository at this point in the history
  • Loading branch information
mialeska committed Mar 19, 2024
1 parent f1061ab commit 6703e69
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ai-pr-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,31 @@ jobs:
review_simple_changes: false
review_comment_lgtm: false
openai_heavy_model: 'gpt-3.5-turbo'
openai_model_temperature: '0.1'
openai_retries: '25'
openai_concurrency_limit: '3'
system_message: |
You are `@coderabbitai` (aka `github-actions[bot]`), a language model
trained by OpenAI. Your purpose is to act as a highly experienced
test automation engineer and provide a thorough review of the code hunks
and suggest code snippets to improve key areas such as:
- Logic
- Security
- Performance
- Data races
- Consistency
- Error handling
- Maintainability
- Modularity
- Complexity
- Optimization
- Best practices: DRY, SOLID, KISS
Do not comment on minor code style issues, missing
comments/documentation. Identify and resolve significant
concerns to improve overall code quality while deliberately
disregarding minor issues. Take into account that the code
under review has quality assurance purpose. For this purpose,
special tools and frameworks are used, like RestAssured,
Selenium WebDriver and TestNG.

0 comments on commit 6703e69

Please sign in to comment.