Expand description
Prompt building utilities for commit message generation
This module contains the core prompt construction logic used by all providers. It handles system prompts, user prompts, file type categorization, and project context.
Functionsยง
- build_
prompt - Build the combined prompt for providers without system message support
- build_
system_ prompt - Build the system prompt part (role definition, rules)
- build_
user_ prompt - Build the user prompt part (actual task + diff)
- extract_
file_ summary - Extract file type summary from diff
- get_
project_ context - Get project context from .rco/context.txt or README
- split_
prompt - Split the prompt into system and user parts for providers that support it