This commit is contained in:
2026-06-01 20:47:26 -05:00
parent 108b8243a9
commit eb7de776e4
5 changed files with 201 additions and 49 deletions
+6 -1
View File
@@ -26,9 +26,14 @@ export function formatReview(
files: string[],
model: string,
): string {
console.log(
`Formatting review for ${files.length} file${files.length === 1 ? "" : "s"} with model ${model}...`,
);
const parts: string[] = [];
parts.push(`## 🤖 shockbot review\n\n> Reviewed ${files.length} file${files.length === 1 ? "" : "s"} using \`${model}\``);
parts.push(
`## 🤖 shockbot review\n\n> Reviewed ${files.length} file${files.length === 1 ? "" : "s"} using \`${model}\``,
);
// Summary section — join per-chunk summaries
const summaries = review.summaries.filter(Boolean);