Skip to main content

Module multi_step_integration

Module multi_step_integration 

Source

Structs§

ParsedFile
Represents a parsed file from the git diff

Constants§

ANALYZE_SYSTEM_PROMPT
System prompt for the analyze step. Drives per-file analysis that feeds the analyze function-calling tool. Kept as a pub const so the prompt contract can be pinned by invariant tests without reaching into private request builders.
COMMIT_SYSTEM_PROMPT
System prompt for the final commit step (select and format the message).
GENERATE_SYSTEM_PROMPT
System prompt for the generate step (candidate commit subjects).
SCORE_SYSTEM_PROMPT
System prompt for the score step (impact scoring across all analyzed files).

Functions§

generate_commit_message_local
Alternative: Use the multi-step analysis locally without OpenAI calls
generate_commit_message_multi_step
Main entry point for multi-step commit message generation
parse_diff
Parse git diff into individual files