fix: 使用正确的 SSE 事件名 'start' 展示审查进度

This commit is contained in:
2026-06-19 23:05:01 +08:00
parent 8f346999fb
commit a89d057716
+1 -1
View File
@@ -92,7 +92,7 @@ func GenerateReview(db *sql.DB, repoPath, base, head string, topN int, callback
// Notify frontend of file count info
if callback != nil {
callback("progress", map[string]interface{}{
callback("start", map[string]interface{}{
"total_files": totalFiles,
"reviewed_files": reviewedFiles,
"top_n": topN,