mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 11:01:18 +03:00
Revert adding condition to skip initialization of web scraper nodes
This commit is contained in:
@@ -328,14 +328,6 @@ export const buildLangchain = async (
|
|||||||
logger.debug(`[server]: Finished upserting ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
logger.debug(`[server]: Finished upserting ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
||||||
break
|
break
|
||||||
} else {
|
} else {
|
||||||
// skip initializing web scraper nodes during prediction since they would have already run as a part of upsert
|
|
||||||
if (
|
|
||||||
reactFlowNode.data.name === 'cheerioWebScraper' ||
|
|
||||||
reactFlowNode.data.name === 'playwrightWebScraper' ||
|
|
||||||
reactFlowNode.data.name === 'puppeteerWebScraper'
|
|
||||||
) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
logger.debug(`[server]: Initializing ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
logger.debug(`[server]: Initializing ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
||||||
let outputResult = await newNodeInstance.init(reactFlowNodeData, question, {
|
let outputResult = await newNodeInstance.init(reactFlowNodeData, question, {
|
||||||
chatId,
|
chatId,
|
||||||
|
|||||||
Reference in New Issue
Block a user