Skip to content

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

Update search.ts

Nicolasec298f58b667
diff --git a/apps/api/src/controllers/v1/search.ts b/apps/api/src/controllers/v1/search.ts
index 50f84996d..68aab2c3b 100644
--- a/apps/api/src/controllers/v1/search.ts
+++ b/apps/api/src/controllers/v1/search.ts
@@ -101,7 +101,7 @@ async function scrapeSearchResult(
team_id: options.teamId,
scrapeOptions: {
...options.scrapeOptions,
- maxAge: 4 * 60 * 60 * 1000,
+ maxAge: 3 * 24 * 60 * 60 * 1000, // 3 days
},
internalOptions: { teamId: options.teamId, bypassBilling: true },
origin: options.origin,