From ad14e31b7554cf32f836ca232957b2fc0a5c82f7 Mon Sep 17 00:00:00 2001 From: Max P Date: Mon, 19 Aug 2024 20:15:20 +0200 Subject: [PATCH 1/3] Lower temperature setting in commit sample config - Adjusted `temperature` value from 0.7 to 0.6 in commit sample config file --- ait.commit.sample.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ait.commit.sample.config.json b/ait.commit.sample.config.json index 2851a8f..79b277d 100644 --- a/ait.commit.sample.config.json +++ b/ait.commit.sample.config.json @@ -6,5 +6,5 @@ "prompt": "Generate a concise commit 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 \\n Focus strictly on the changes themselves, avoiding any speculation about the reasons or potential impacts. Ensure that the message is informative enough to understand the changes without needing additional context.", "model": "gpt-4o", "max_tokens": 1000, - "temperature": 0.7 + "temperature": 0.6 } \ No newline at end of file From 5cc850b8a94ec8ebba6950caf8f9f11ba3b01dce Mon Sep 17 00:00:00 2001 From: Max P Date: Mon, 19 Aug 2024 20:15:29 +0200 Subject: [PATCH 2/3] 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 From a6dde44a84a545fe8e03d5e5f8444941ce493d2f Mon Sep 17 00:00:00 2001 From: Max P Date: Mon, 19 Aug 2024 20:16:05 +0200 Subject: [PATCH 3/3] Update version number to 0.0.6 - Changed version number in `VERSION` file from `0.0.5` to `0.0.6` --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index fa3de58..99d85ec 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.5 \ No newline at end of file +0.0.6 \ No newline at end of file