Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update googlesearch.ts

Nicolas495adc9a3f3b
diff --git a/apps/api/src/search/googlesearch.ts b/apps/api/src/search/googlesearch.ts
index fd3b6455f..c63c907b1 100644
--- a/apps/api/src/search/googlesearch.ts
+++ b/apps/api/src/search/googlesearch.ts
@@ -24,7 +24,7 @@ async function _req(term: string, results: number, lang: string, start: number,
},
params: {
"q": term,
- "num": results + 2, // Prevents multiple requests
+ "num": results, // Number of results to return
"hl": lang,
},
proxy: proxies,