log session ID

This commit is contained in:
Gergő Móricz 2025-04-15 01:46:31 -07:00
parent 6634d236bf
commit edb40d75c1

View File

@ -51,7 +51,7 @@ export async function smartScrape(
sessionId?: string, sessionId?: string,
): Promise<SmartScrapeResult> { ): Promise<SmartScrapeResult> {
try { try {
logger.info("Initiating smart scrape request", { url, prompt }); logger.info("Initiating smart scrape request", { url, prompt, sessionId });
// Pass schema type as generic parameter to robustFeth // Pass schema type as generic parameter to robustFeth
const response = await robustFetch<typeof smartScrapeResultSchema>({ const response = await robustFetch<typeof smartScrapeResultSchema>({