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.27k stars 110 forks source link

Support openrouter api key #153

Closed codessse closed 6 months ago

codessse commented 7 months ago

https://openrouter.ai/models

The OpenRouter supports various different models including ChatGPT.

appleboy commented 6 months ago

I will take it.

appleboy commented 6 months ago

https://github.com/appleboy/CodeGPT#how-to-change-to-openrouter-api-service