A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4o, gpt-4-turbo, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
MIT License
1.15k
stars
100
forks
source link
refactor(provider): handling in config system #163
String()
method foropenai.provider
incommit.go
OPENAI
andAZURE
withProvider
type and addString()
andIsValid()
methods inoptions.go
WithProvider
function to useProvider
type and validate withIsValid()
method inoptions.go
provider
field inconfig
struct fromstring
toProvider
type inoptions.go
WithProvider
calls inoptions_test.go
to useString()
method forProvider
typeref: #153