Skip to main content

Module response

Module response 

Source

Structs§

ParsedCommit
Parsed conventional commit.
ParsedPr
Parsed PR output.

Functions§

format_adaptive_message
Format an adaptive-mode response (sanitize only, no type parsing).
format_branch_name
Format a branch name from AI response: sanitize, slugify.
format_commit_message
Format a parsed commit using the config template, emojis, lowercase.
parse_pr_response
Parse a PR response into title and body.
parse_response
Parse a response into a conventional commit structure.
sanitize_response
Sanitize an AI response: strip ANSI codes, preamble, code blocks, formatting.