fix: 使用正确的 SSE 事件名 'start' 展示审查进度
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user