refactor: 导图生成仅使用学习报告
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user