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.27k
stars
110
forks
source link
feat: update codebase to support new AI models #155
Update model references from LLaMA2-70b-chat, Mixtral-8x7b-Instruct-v0.1, and Gemma-7b-it to llama3-8b-8192, llama3-70b-8192, mixtral-8x7b-32768, and gemma-7b-it in README.md
Replace old model constants with new ones in groq/model.go
Remove deprecated GetModel function from groq/model.go
Update model validation cases to use new model constants in groq/model.go
Update model mappings in openai/openai.go to reflect new model constants
Adjust completion function in openai/openai.go to use new model strings
Add new models to the allowed function call list in openai/openai.go
LLaMA2-70b-chat
,Mixtral-8x7b-Instruct-v0.1
, andGemma-7b-it
tollama3-8b-8192
,llama3-70b-8192
,mixtral-8x7b-32768
, andgemma-7b-it
in README.mdgroq/model.go
GetModel
function fromgroq/model.go
groq/model.go
openai/openai.go
to reflect new model constantsopenai/openai.go
to use new model stringsopenai/openai.go
fix #154