From a5e3c2d281b7c1a07627dfdddbca8b6d926cbe55 Mon Sep 17 00:00:00 2001 From: Aaron Ji Date: Thu, 13 Mar 2025 15:00:51 +0800 Subject: [PATCH] fix: return 10 search results by default --- src/api/searcher-serper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/searcher-serper.ts b/src/api/searcher-serper.ts index a0ef7ca..1f88d37 100644 --- a/src/api/searcher-serper.ts +++ b/src/api/searcher-serper.ts @@ -93,7 +93,7 @@ export class SearcherHost extends RPCHost { // We want to make our search API follow SERP schema, so we need to expose 'num' parameter. // Since we used 'count' as 'num' previously, we need to keep 'count' for old users. // Here we combine 'count' and 'num' to 'count' for the rest of the function. - count = (num !== undefined ? num : count) ?? 5; + count = (num !== undefined ? num : count) ?? 10; const uid = await auth.solveUID(); // Return content by default