From 4ac597d9c21687f6120363d49d1b2825c253f49e Mon Sep 17 00:00:00 2001 From: Saurav Panda Date: Mon, 17 Jun 2024 19:03:37 -0400 Subject: [PATCH] fix: added instruction for request_for_change --- kaizen/llms/prompts/code_review_prompts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kaizen/llms/prompts/code_review_prompts.py b/kaizen/llms/prompts/code_review_prompts.py index 966c6227..70c076f8 100644 --- a/kaizen/llms/prompts/code_review_prompts.py +++ b/kaizen/llms/prompts/code_review_prompts.py @@ -41,6 +41,8 @@ - "Potential Issues" - "Improvements" +For "request_for_change", only make it true when topic is part of "Improvements" or "Potential Issues" or something which you think needs attention of the developer. + Generate all relevant and actionable feedback. Avoid duplicate feedbacks for same line, try to merge them. For each piece of feedback, clearly reference the specific file(s) and line number(s) of code being addressed for each comment. Use markdown code blocks to quote relevant snippets of code when necessary. Keep comments concise but make sure they have actionable points pointing to the code or line having the issue. Avoid duplicate feedback, merge when necessary. @@ -92,6 +94,8 @@ - "Potential Issues" - "Improvements" +For "request_for_change", only make it true when topic is part of "Improvements" or "Potential Issues" or something which you think needs attention of the developer. + Generate all relevant and actionable feedback. Avoid duplicate feedbacks for same line, try to merge them. For each piece of feedback, clearly reference the specific file(s) and line number(s) of code being addressed for each comment. Use markdown code blocks to quote relevant snippets of code when necessary. Keep comments concise but make sure they have actionable points pointing to the code or line having the issue. Avoid duplicate feedback, merge when necessary.