From 35bdbb561a08e8e6a05c421a4c5355e896329e6e Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Tue, 18 Mar 2025 19:03:47 +0800 Subject: [PATCH] fix: broken md --- src/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent.ts b/src/agent.ts index 533ee45..1b8d11f 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -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({