mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: add all urls as the last event
This commit is contained in:
@@ -799,7 +799,11 @@ But unfortunately, you failed to solve the issue. You need to think out of the b
|
||||
console.log(thisStep)
|
||||
|
||||
await storeContext(system, schema, [allContext, allKeywords, allQuestions, allKnowledge], totalStep);
|
||||
return {result: thisStep, context, visitedURLs: [...visitedURLs, ...Object.keys(allURLs)]};
|
||||
return {
|
||||
result: thisStep,
|
||||
context,
|
||||
visitedURLs: [...new Set([...visitedURLs, ...Object.keys(allURLs)])]
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user