feat: 添加 Scene VLM 阶段到 Pipeline Progress 显示

问题:
- Core API 新增 scene_vlm 阶段
- Studio 需要同步更新权重映射和显示名称

修复:
- 更新 WEIGHT_MAP,添加 scene_vlm (0.03)
- 调整 vlm_summary 权重从 0.04 到 0.03
- 更新 formatStageName 函数,添加 'Scene VLM' 显示名称

权重映射:
- processors: 0.30
- rule1_ingestion: 0.05
- face_tracing: 0.05
- face_dedup: 0.10
- tkg_nodes: 0.20
- tkg_edges: 0.15
- rule2_ingestion: 0.10
- vlm_summary: 0.03
- scene_vlm: 0.03
- moment_chunks: 0.01

影响:
- 文件处理流程显示 Scene VLM 阶段
- 深度扫描文件显示完整的处理进度
- 用户可以实时监控 Scene VLM 处理状态

测试:
✅ 编译通过 (npm run build)
✅ 阶段显示名称正确
This commit is contained in:
2026-10-10 14:57:22 +08:00
parent 086278616e
commit af60ea118a
2 changed files with 3 additions and 1 deletions

View File

@@ -1010,7 +1010,8 @@ export async function loadPipelineStats(fileUuid: string, force = false): Promis
tkg_nodes: 0.20,
tkg_edges: 0.15,
rule2_ingestion: 0.10,
vlm_summary: 0.04,
vlm_summary: 0.03,
scene_vlm: 0.03,
moment_chunks: 0.01
}

View File

@@ -1186,6 +1186,7 @@ function formatStageName(name: string): string {
tkg_edges: 'TKG Edges',
rule2_ingestion: 'Rule2 Ingestion',
vlm_summary: 'VLM Summary',
scene_vlm: 'Scene VLM',
moment_chunks: 'Moment Chunks'
}
return names[name] || name