Update code
This commit is contained in:
@@ -175,6 +175,8 @@ def build_prompt(diff_text: str) -> str:
|
||||
return (
|
||||
"Review the following git diff. Focus on correctness, regressions, missing validation, "
|
||||
"build/test issues, and security concerns. "
|
||||
"No need to comment on removed code unless it seems like it would cause a problem. "
|
||||
"Do not review the scripts in the scripts directory, as they are not part of the main codebase. "
|
||||
"Return either 'No issues found.' or a short flat list where each item includes severity, file, and issue.\n\n"
|
||||
f"{truncated_diff}{suffix}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user