You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
[feature request] Ability to customize the prompt. #30
I've noticed that you've been updating the prompt, and while I love some of the changes, there are other bits which I don't like as much. (10. If the diff includes multiple unrelated changes, pick the single most important one)
As such, it would be really nice if there was a way to customize the commit message prompt a bit, either with a full replacement, or by being able to adjust specific rules.
I'm not really a fan of how I handled the case of a nil prompt_template string, but the substitutions work reasonably well, and at least for my use case this is letting me customize the prompt as I want to.
Activity
jinzhongjia commentedon Dec 24, 2025
I will try this
zelch commentedon Dec 31, 2025
Maybe something vaguely like this?
codecompanion-gitcommit_prompt_config.patch
I'm not really a fan of how I handled the case of a nil prompt_template string, but the substitutions work reasonably well, and at least for my use case this is letting me customize the prompt as I want to.
jinzhongjia commentedon Dec 31, 2025
Sorry, recently I am a little busy, I will definitely deal with this tomorrow.
Oh, this patch looks like great. I will create a new pr with this patch, maybe I will modify this patch
jinzhongjia commentedon Jan 3, 2026
Can you test this pr
#31
zelch commentedon Jan 3, 2026
@jinzhongjia That works perfectly!
Think you! :)