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:
10
ait.commit.sample.config.json
Normal file
10
ait.commit.sample.config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"api_key": "YOUR_OPENAI_API_KEY_HERE",
|
||||
"diff_expression": "--cached",
|
||||
"log_expression": "--oneline HEAD",
|
||||
"system_prompt": "**You are an automatic commit message generator and an expert in this field!**",
|
||||
"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
|
||||
}
|
Reference in New Issue
Block a user