From 9488ba2f975f7de0403468da033be935b50ff113 Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Tue, 11 Mar 2025 16:09:17 +0800 Subject: [PATCH] fix: eval --- src/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent.ts b/src/agent.ts index ce60b3b..79b501b 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -601,7 +601,7 @@ But then you realized you have asked them before. You decided to to think out of Object.entries(allURLs).map(([, result]) => result) ).hostnameCount).sort((a, b) => b[1] - a[1]); console.log(topHosts) - if (topHosts.length > 0 && Math.random() < 0.6 && !query.q.includes('site:')) { + if (topHosts.length > 0 && Math.random() < 0.2 && !query.q.includes('site:')) { // explore-exploit siteQuery = query.q + ' site:' + sampleMultinomial(topHosts); query.q = siteQuery;