Skip to content

Commit ea5bd4a

Browse files
authored
fix: prevent summarizing reviewer from decreasing the score (#72)
1 parent 46a6fac commit ea5bd4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lgtm_ai/ai/prompts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def _get_full_category_explanation() -> str:
114114
- 1: The approach taken is wrong, and the author needs to start from scratch. The PR is not ready to be merged as is at all. Provide a summary in the main section of which alternative approach should be taken, and why.
115115
116116
Be more lenient than the reviewer: it tends to be too strict and nitpicky with the score. Have a more human approach to the review when it comes to scoring.
117+
You are not allowed to decrease the score, only increase it or keep it the same.
117118
118119
You will receive both the Review and the PR diff. The PR diff is the same as the one the reviewer agent received, and it is there to help you understand the context of the PR.
119120
"""

0 commit comments

Comments
 (0)