mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 22:39:01 +08:00
Nick: __experimental
This commit is contained in:
parent
72be73473f
commit
ef789ce8d7
@ -52,6 +52,7 @@ export async function scrapeController(
|
||||
teamId: req.auth.team_id,
|
||||
saveScrapeResultToGCS: process.env.GCS_FIRE_ENGINE_BUCKET_NAME ? true : false,
|
||||
unnormalizedSourceURL: preNormalizedBody.url,
|
||||
useCache: req.body.__experimental_cache ? true : false,
|
||||
},
|
||||
origin: req.body.origin,
|
||||
startTime,
|
||||
|
@ -309,6 +309,7 @@ const baseScrapeOptions = z
|
||||
useMock: z.string().optional(),
|
||||
blockAds: z.boolean().default(true),
|
||||
proxy: z.enum(["basic", "stealth", "auto"]).optional(),
|
||||
__experimental_cache: z.boolean().default(false).optional(),
|
||||
})
|
||||
.strict(strictMessage);
|
||||
|
||||
|
@ -131,6 +131,7 @@ export async function performDeepResearch(options: DeepResearchServiceOptions) {
|
||||
removeBase64Images: false,
|
||||
fastMode: false,
|
||||
blockAds: false,
|
||||
__experimental_cache: true,
|
||||
},
|
||||
}, logger, costTracking, acuc?.flags ?? null);
|
||||
return response.length > 0 ? response : [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user