opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]: add context for WHY in commit message

Open di-sukharev opened this issue 1 year ago • 2 comments
trafficstars

Description

lets help ai to understand why the changes were done

Suggested Solution

a flag: oco -- why="string"

mb string can be ticket description

Alternatives

No response

Additional Context

No response

di-sukharev avatar Aug 29 '24 16:08 di-sukharev

i would also make the WHY generation optional and turned off by default, as it's not 100% accurate and I would be ok personally with just "what has been changed" — it's enough now

di-sukharev avatar Aug 30 '24 13:08 di-sukharev

i added an OCO_WHY boolean config.

but this ticket still requires updating all the few shots we send in different languages to the LLMs, will do next

di-sukharev avatar Sep 06 '24 11:09 di-sukharev