Add config files for commit and pull request messages

- Created `ait.commit.sample.config.json` with parameters for generating commit messages
- Created `ait.pull.sample.config.json` with parameters for generating pull request messages
This commit is contained in:
2024-08-19 16:28:13 +02:00
parent 2dce81fcdb
commit bbe01ebf82
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{
"api_key": "YOUR_OPENAI_API_KEY_HERE",
"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.",
"model": "gpt-4o",
"max_tokens": 1000,
"temperature": 0.7
}