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.16k stars 100 forks source link

feat(model): add support for OpenAI API version configuration #95

Closed appleboy closed 11 months ago

appleboy commented 11 months ago

fix #94

codecov-commenter commented 11 months ago

Codecov Report

Merging #95 (d2fca54) into main (e6daa6f) will decrease coverage by 0.78%. The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   25.17%   24.39%   -0.78%     
==========================================
  Files           7        7              
  Lines         282      291       +9     
==========================================
  Hits           71       71              
- Misses        206      215       +9     
  Partials        5        5              
Files Changed Coverage Δ
openai/openai.go 0.00% <0.00%> (ø)
openai/options.go 45.36% <0.00%> (-1.96%) :arrow_down: