We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77b288 commit f2805efCopy full SHA for f2805ef
1 file changed
src/main.go
@@ -6,6 +6,7 @@ import (
6
7
"github.com/atotto/clipboard"
8
"github.com/dfanso/commit-msg/src/chatgpt"
9
+ "github.com/dfanso/commit-msg/src/claude"
10
"github.com/dfanso/commit-msg/src/gemini"
11
"github.com/dfanso/commit-msg/src/grok"
12
"github.com/dfanso/commit-msg/src/internal/display"
@@ -115,6 +116,8 @@ func main() {
115
116
commitMsg, err = gemini.GenerateCommitMessage(config, changes, apiKey)
117
} else if os.Getenv("COMMIT_LLM") == "chatgpt" {
118
commitMsg, err = chatgpt.GenerateCommitMessage(config, changes, apiKey)
119
+ } else if os.Getenv("COMMIT_LLM") == "claude" {
120
+ commitMsg, err = claude.GenerateCommitMessage(config, changes, apiKey)
121
} else {
122
commitMsg, err = grok.GenerateCommitMessage(config, changes, apiKey)
123
}
0 commit comments