fix: label retrieval result count accurately

This commit is contained in:
姚章浩
2026-07-20 23:37:58 +08:00
parent cda192b8ab
commit 2af1282335
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ func renderProgressEvent(event weknora.StreamEvent) string {
return "知识库检索完成\n\n正在生成答案…"
}
case "references":
return fmt.Sprintf("已找到 %d 篇相关文档\n\n正在生成答案…", event.ReferenceCount)
return fmt.Sprintf("检索到 %d 条相关内容\n\n正在生成答案…", event.ReferenceCount)
}
return ""
}