Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Nick: default to serper
Nicolasa59ddf1855a8
diff --git a/apps/api/src/search/index.ts b/apps/api/src/search/index.tsindex f365811c3..d3b66aadc 100644--- a/apps/api/src/search/index.ts+++ b/apps/api/src/search/index.ts@@ -28,7 +28,7 @@ export async function search({timeout?: number;}) : Promise<SearchResult[]> {try {- if (process.env.SERPER_API_KEY && !tbs) {+ if (process.env.SERPER_API_KEY ) {return await serper_search(query, {num_results, tbs, filter, lang, country, location});}return await google_search(