Closed lee1221ee closed 1 year ago
I got it. I will enhance the utilization of summary_prefix
.
@lee1221ee Try the following approach.
codegpt commit --template_vars summarize_prefix=foobar
codegpt commit --template_vars summarize_title=test123456
當我在修改 bug 時,例如下面這個例子,我忘記對 list 進行 sum,經過修正後,commit message 應該要是
fix
,但 GPT 還是總結成 feat 或 refactor。雖然我可以用
codegpt commit --amend
修改,但希望可以在 codegpt commit 時指定用哪種 summary_prefix,讓 GPT 可以針對該 prefix 生成更準確的 message。