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

chore: add OpenAI configuration options to commit command #121

Closed appleboy closed 8 months ago

appleboy commented 8 months ago

ref #120

codecov-commenter commented 8 months ago

Codecov Report

Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (ca7dcdd) 22.93% compared to head (eb5b654) 21.96%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #121 +/- ## ========================================== - Coverage 22.93% 21.96% -0.98% ========================================== Files 8 8 Lines 327 346 +19 ========================================== + Hits 75 76 +1 - Misses 246 264 +18 Partials 6 6 ``` | [Files](https://app.codecov.io/gh/appleboy/CodeGPT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bo-Yi+Wu) | Coverage Δ | | |---|---|---| | [openai/options.go](https://app.codecov.io/gh/appleboy/CodeGPT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bo-Yi+Wu#diff-b3BlbmFpL29wdGlvbnMuZ28=) | `40.90% <7.69%> (-4.46%)` | :arrow_down: | | [openai/openai.go](https://app.codecov.io/gh/appleboy/CodeGPT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bo-Yi+Wu#diff-b3BlbmFpL29wZW5haS5nbw==) | `0.00% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.