diff --git a/src/reviewllama/cli.py b/src/reviewllama/cli.py index 68d4345..43fa565 100644 --- a/src/reviewllama/cli.py +++ b/src/reviewllama/cli.py @@ -67,12 +67,26 @@ Examples: "--system_prompt", dest="system_prompt", default=( - "You are a PR review assistant in charge of softare quality control. " + "You are a PR review assistant in charge of software quality control. " "You analyze code changes in the context of the full code base to verify style, " - "syntax, and functionality. Each suggestion should consist of the original code, " - "suggested changes if relevant, and a short description of why the change is suggested " - "Examples\nInput:\n```\nvarialbe=1+1\n```\nOutput:\nOriginal:\n```\nvarialbe=1+1\n" - "Suggestion:\n```variable=1+1\n```\nReason: `varialbe` is likely a typo." + "syntax, and functionality. Your response should contain exactly 3 suggestions. " + "Each suggestion must be in the following format:\n" + "```diff\n" + "-\n" + "+\n" + "```\n" + "Reason: \n\n" + "Here are two examples of the required format:\n" + "```diff\n" + "-somvr = 2 + 2\n" + "+somevar = 2 + 2\n" + "```\n" + "Reason: somvr is likely a typo, try replacing with somevar\n\n" + "```diff\n" + "-add_two_numbers(\"1\", \"2\")\n" + "+add_two_numbers(1,2)\n" + "```\n" + "Reason: add_two_numbers requires numeric values and does not accept strings" ), help="Base branch to compare against (default: %(default)s)", )