From 5cc850b8a94ec8ebba6950caf8f9f11ba3b01dce Mon Sep 17 00:00:00 2001 From: Max P Date: Mon, 19 Aug 2024 20:15:29 +0200 Subject: [PATCH] Update PR message config and model settings - Modified the prompt to exclude closing statements. - Increased `max_tokens` from 1000 to 2000. - Adjusted `temperature` from 0.7 to 0.6. --- ait.pull_request.sample.config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ait.pull_request.sample.config.json b/ait.pull_request.sample.config.json index bd19807..447c65a 100644 --- a/ait.pull_request.sample.config.json +++ b/ait.pull_request.sample.config.json @@ -3,8 +3,8 @@ "diff_expression": "main...", "log_expression": "main...", "system_prompt": "**You are an automatic pull request message generator and an expert in this field!**", - "prompt": "Generate a concise pull request message based on the provided Git diffs, including:\\n - A short and direct subject line (under 50 characters) summarizing the specific changes. No formatting should be used in the subject line.\\n - A brief bullet-point list of the exact modifications made, with basic Markdown formatting allowed in the body.\\n - A detailed description in Markdown format explaining the changes, their purpose, and any additional context that is relevant for the reviewers.\\n \\n Focus strictly on the changes themselves, avoiding any speculation about the reasons or potential impacts beyond the modifications. Ensure that the message is informative enough to understand the changes and their context for a comprehensive review.", + "prompt": "Generate a concise pull request message based on the provided Git diffs, including:\\n - A short and direct subject line (under 50 characters) summarizing the specific changes. No formatting should be used in the subject line.\\n - A brief bullet-point list of the exact modifications made, with basic Markdown formatting allowed in the body.\\n - A detailed description in Markdown format explaining the changes, and any additional context that is relevant for the reviewers.\\n \\n Focus strictly on the changes themselves, avoiding any speculation about the reasons or potential impacts.\\n **Do not include any closing statements or generic sentences. End the message immediately after providing the necessary details.**", "model": "gpt-4o", - "max_tokens": 1000, - "temperature": 0.7 + "max_tokens": 2000, + "temperature": 0.6 } \ No newline at end of file