mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 03:28:12 +08:00
fix(log_job): add crawl_id
This commit is contained in:
parent
9252940b52
commit
a33596de3c
@ -40,6 +40,7 @@ export async function logJob(job: FirecrawlJob) {
|
|||||||
extractor_options: job.extractor_options,
|
extractor_options: job.extractor_options,
|
||||||
num_tokens: job.num_tokens,
|
num_tokens: job.num_tokens,
|
||||||
retry: !!job.retry,
|
retry: !!job.retry,
|
||||||
|
crawl_id: job.crawl_id,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -64,6 +65,7 @@ export async function logJob(job: FirecrawlJob) {
|
|||||||
extractor_options: job.extractor_options,
|
extractor_options: job.extractor_options,
|
||||||
num_tokens: job.num_tokens,
|
num_tokens: job.num_tokens,
|
||||||
retry: job.retry,
|
retry: job.retry,
|
||||||
|
crawl_id: job.crawl_id,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
posthog.capture(phLog);
|
posthog.capture(phLog);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user