issues
search
appleboy
/
CodeGPT
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.22k
stars
109
forks
source link
feat: improve model selection and API usage
#71
Closed
appleboy
closed
1 year ago
appleboy
commented
1 year ago
Replace
viper.GetString("openai.model")
with
currentModel
for commit message summary
Add condition to select model based on
openai.provider
value
viper.GetString("openai.model")
withcurrentModel
for commit message summaryopenai.provider
value