refactor: 导图生成仅使用学习报告

This commit is contained in:
2026-08-03 23:08:40 +08:00
parent 3f504976ea
commit 435beaffbb
4 changed files with 5 additions and 12 deletions
-2
View File
@@ -160,12 +160,10 @@ function buildMessages(task: TaskRecord) {
}
case "generate-mind-map": {
const reports = p.reports as string[] | undefined;
const fragments = p.fragments as string[] | undefined;
return generateMindMapPrompt(
p.taskName as string,
(p.taskDescription as string) ?? "",
reports ?? [],
fragments ?? [],
);
}
case "compare-recall": {