revert allContext in agent

This commit is contained in:
Sha Zhou 2025-05-13 14:37:11 +08:00
parent e8f9e79a20
commit 2e8079b613

View File

@ -1012,8 +1012,6 @@ But unfortunately, you failed to solve the issue. You need to think out of the b
// max return 300 urls
const returnedURLs = weightedURLs.slice(0, numReturnedURLs).map(r => r.url);
// reset all context
allContext.length = 0;
return {
result: thisStep,
context,