Expand description
Commit message generation phase.
This module handles automated commit message generation using the standard agent pipeline with fallback support. It replaces the custom implementation in repo.rs that lacked proper logging and fallback handling.
The phase:
- Takes a git diff as input
- Runs the commit agent with the diff via the standard pipeline
- Extracts the commit message from agent output
- Returns the generated message for use by the caller
Structs§
- Commit
Message Result - Result of commit message generation.
Functions§
- commit_
with_ generated_ message - Create a commit with an automatically generated message using the standard pipeline.
- generate_
commit_ message - Generate a commit message using the standard agent pipeline with fallback.