mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 01:15:56 +08:00
fix(gcs-jobs/save): respect metadata rules
This commit is contained in:
parent
4709fbce6a
commit
f64dd4a9a4
@ -44,8 +44,8 @@ export async function saveJobToGCS(job: FirecrawlJob): Promise<void> {
|
|||||||
team_id: (job.team_id === "preview" || job.team_id?.startsWith("preview_")) ? null : job.team_id,
|
team_id: (job.team_id === "preview" || job.team_id?.startsWith("preview_")) ? null : job.team_id,
|
||||||
mode: job.mode,
|
mode: job.mode,
|
||||||
url: job.url,
|
url: job.url,
|
||||||
crawler_options: job.crawlerOptions,
|
crawler_options: JSON.stringify(job.crawlerOptions),
|
||||||
page_options: job.scrapeOptions,
|
page_options: JSON.stringify(job.scrapeOptions),
|
||||||
origin: job.origin,
|
origin: job.origin,
|
||||||
num_tokens: job.num_tokens ?? null,
|
num_tokens: job.num_tokens ?? null,
|
||||||
retry: !!job.retry,
|
retry: !!job.retry,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user