Skip to content

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

Nick: default to serper

Nicolasa59ddf1855a8
diff --git a/apps/api/src/search/index.ts b/apps/api/src/search/index.ts
index 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(