VS Code extension which helps to generate AI commit messages using ChatGPT.
You can generate commit message by pressing 'Generate AI commit' button in source control tab:
Tip: You could also generate commit from command pallete by calling 'Generate AI commit' command.
You need Open AI API Key to make this extension work. You can get your API key from OpenAI.
GPT Commit extension contributes the following settings:
gptcommit.appearance.delimeter
: Delimeter between commit linesgptcommit.general.generator
: Generator used to create commit messages. Available options: ChatGPTgptcommit.general.messageApproveMethod
: Method used to approve generated commit message. Available options: Quick pick, Message filegptcommit.openAI.apiKey
: OpenAI API Key. Needed for generating AI commit messagesgptcommit.openAI.gptVersion
: Version of GPT used by OpenAIgptcommit.openAI.customEndpoint
: Custom endpoint URL for OpenAI APIgptcommit.openAI.temperature
: Controls randomness. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitivegptcommit.openAI.maxTokens
: The maximum number of tokens to generate. Requests can use up to 2048 tokens shared between prompt and completionInitial release of GPT Commit
Updated icons
Fixed UX
Added Open AI API Key input prompt
Updated commit formatting. Added new setting
Added new advanced configuration for ChatGPT.\ Added new option to accept and edit generated commit via temp message file. (Thanks for help chenweiyi)\ Added option to set custom ChatGPT endpoint URL. (Thanks for help aiyogg)\ Fixed issue with git on windows (Issue #5)\ Added option to select different ChatGPT version (Issue #6)\ Set default ChatGPT version to gpt-3.5-turbo-16k
Released under MIT by @dmytrobaida.