You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/review.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ jobs:
59
59
inline_comments = [] # Collect inline comments to post
60
60
diff_text = ""
61
61
62
+
# Loop through the files in the PR
62
63
for fdata in pr_files:
63
64
filename = fdata['filename']
64
65
patch = fdata.get('patch', '')
@@ -112,7 +113,7 @@ jobs:
112
113
print("No critical issues found in the code.")
113
114
114
115
# Always post PR summary
115
-
summary_prompt = f"Summarize the following pull request changes in a concise, technical manner:\\n\\n{diff_text}"
116
+
summary_prompt = f"Summarize the following pull request changes in a concise, technical manner. Include details on which files were changed and a high-level overview of the changes:\n\n{diff_text}"
0 commit comments