ext-name

Configurations
| Key |
Description |
Type |
Default |
commitgen.aiBaseUrl |
AI service base URL (OpenAI-compatible) |
string |
"https://api.openai.com/v1" |
commitgen.aiModel |
AI model name |
string |
"gpt-4o-mini" |
commitgen.aiKey |
API Key for AI service |
string |
"" |
commitgen.prompt |
Prompt template. Use {{files}} for staged file list, {{diff}} for staged diff content, and {{history}} for recent commit messages |
string |
See package.json |
commitgen.maxDiffLength |
Maximum diff length in characters (to prevent token overflow) |
number |
120000 |
Commands
| Command |
Title |
commitgen.generate |
CommitGen: Generate Commit Message |
commitgen.cancel |
CommitGen: Cancel Generation |
License
MIT License © 2022 Anthony Fu
| |