Bug fixing
This commit is contained in:
@@ -175,6 +175,9 @@ 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 as well as style and usage of c++23. "
|
||||
"Bring to attention any patterns that are generally considered error-prone or hard to maintain. "
|
||||
"Highlight any places where the code could be simplified or made more efficient. "
|
||||
"Provide suggestions for improving readability and maintainability. "
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user