Feature Request: Improve AI Commit Message Workflow (Reduce Redundancy & Add Visibility Control) #2221
rayachristian
started this conversation in
Ideas
Replies: 2 comments
-
|
The AI-based commit message generator has been totally rewrited. Please download and test the latest CI build from GitHub Action or build the latest |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The new implementation is tool-based conversation instead of two-steps and multiple conversations.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
The current AI-assisted commit message workflow in SourceGit relies on two prompts:
Problem
This approach introduces two main issues:
Redundancy in generated content
Since Prompt 1 operates independently on each staged file, the resulting descriptions often contain overlapping or repetitive information. This leads to noisy commit messages.
Lack of control over commit message verbosity
All outputs from Prompt 1 are systematically included in the final commit message, even when they are only useful as intermediate data for Prompt 2.
Proposed Solution
Introduce an option (e.g., a checkbox in the UI) to control the visibility of Prompt 1 outputs in the final commit message.
Suggested Behavior
Benefits
Additional Notes
This change aligns well with a two-step summarization strategy:
However, the current implementation exposes both layers directly, which reduces overall readability. This feature would allow users to leverage the full pipeline while keeping the commit message concise and relevant.
Possible UI
"Hide per-file AI descriptions (use for summary only)"
Beta Was this translation helpful? Give feedback.
All reactions