Skip to content

Commit 5c14872

Browse files
committed
Refine Gemini review prompt to focus on guidelines and PR comments
1 parent 5eabbcb commit 5c14872

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hack/gemini_review.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ def generate_gemini_review_with_annotations(diff_file, api_key, guidelines, pr_c
8181
{pr_comments}
8282
8383
Review the following code diff from file `{diff_file.filename}` and provide feedback.
84-
Point out potential issues, suggest improvements, and highlight good practices.
85-
For each issue or suggestion, specify the line numbers from the diff where the change occurs.
84+
Point out potential issues, based on the guidelines and the previous PR comments history.
8685
Keep the review concise.
8786
8887
```diff

0 commit comments

Comments
 (0)