fix: broken md

This commit is contained in:
Han Xiao 2025-03-18 19:03:47 +08:00
parent 449faed630
commit 35bdbb561a

View File

@ -816,7 +816,7 @@ You decided to think out of the box or cut from a completely different angle.`);
}
allowRead = false;
} else if (thisStep.action === 'coding' && thisStep.codingIssue) {
const sandbox = new CodeSandbox({allContext, visitedURLs, allURLs, allKnowledge}, context, SchemaGen);
const sandbox = new CodeSandbox({allContext, URLs: weightedURLs.slice(0, 20), allKnowledge}, context, SchemaGen);
try {
const result = await sandbox.solve(thisStep.codingIssue);
allKnowledge.push({