pub fn smart_truncate_diff(
diff: &str,
max_length: usize,
config: &CommitConfig,
counter: &TokenCounter,
) -> StringExpand description
Smart truncation of git diff with token-aware budgeting
pub fn smart_truncate_diff(
diff: &str,
max_length: usize,
config: &CommitConfig,
counter: &TokenCounter,
) -> StringSmart truncation of git diff with token-aware budgeting