-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Feature description
When using lazycommit, the AI-generated commit message is often helpful, but sometimes it doesn’t fully capture the intent of the changes. Currently, if the suggested message isn’t ideal, the only option is to manually edit it. It would be great to have an option to regenerate the commit message, allowing users to get an alternative AI suggestion without re-running the command or editing manually. This would improve the developer experience by enabling quick iteration until a suitable commit message is found
Problem/Motivation
The AI-generated commit message is not always ideal, and there is currently no way to regenerate a new suggestion. Adding a regenerate option would improve flexibility and reduce manual editing.
Proposed solution
Add an option to regenerate the AI-generated commit message using the same staged changes and context. After the initial message is shown, users could choose to regenerate, edit manually, or accept the message. Regeneration would simply re-prompt the AI without re-running the entire command, allowing users to iterate until a suitable commit message is generated
Use cases
No response
Alternatives considered
No response
Implementation help
- I'm interested in implementing this feature myself.
- I can help test this feature once it's implemented.
- I can provide design mockups or detailed specifications.
Additional context
No response