You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let end = (start + args.chunk_size).min(diff.len());
89
+
chunks.push(&diff[start..end]);
90
+
start = end;
91
+
}
92
+
93
+
letmut part_summaries = Vec::new();
94
+
for(i, chunk)in chunks.iter().enumerate(){
95
+
let prompt = format!(
96
+
"You are a code change summarization assistant. Summarize the main goal and impact of the following code changes in a concise sentence:\n\nPart {} of the diff:\n{}\n\nSummary:",
You are a Git commit assistant. Based on the provided `diff_context` (summary of diff context) and style reference `recent_commits`, generate a commit message with the following rules:
2
+
3
+
1. First line: Conventional Commit format — `type: concise description`
0 commit comments