fix(deep-research): pass search results incrementally when triggering node_complete

This commit is contained in:
AnotiaWang
2025-02-21 23:31:24 +08:00
parent 5d1901f9a4
commit 7b1bcfc408

View File

@ -404,7 +404,7 @@ export async function deepResearch({
onProgress({
type: 'node_complete',
result: {
learnings: allLearnings,
learnings: searchResult.learnings ?? [],
followUpQuestions: searchResult.followUpQuestions ?? [],
},
nodeId: childNodeId(nodeId, i),