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

fix: fix the max_tokens is fixed at 300 in commitCmd #97

Closed ryan961 closed 11 months ago

ryan961 commented 11 months ago

fix the default value (300) of maxTokens in reviewCmd, as it causes a bug in commitCmd where the max_tokens is fixed at 300

codecov-commenter commented 11 months ago

Codecov Report

Merging #97 (d2fdfcd) into main (b887729) will not change coverage. The diff coverage is n/a.

: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      #97   +/-   ##
=======================================
  Coverage   24.39%   24.39%           
=======================================
  Files           7        7           
  Lines         291      291           
=======================================
  Hits           71       71           
  Misses        215      215           
  Partials        5        5           
appleboy commented 11 months ago

@ryan961 Thanks. Release v0.4.1