mirror of
https://github.com/FlowiseAI/Flowise.git
synced 2026-10-12 02:02:17 +00:00
disable stream when in child mode
This commit is contained in:
@@ -658,5 +658,10 @@ export const isFlowValidForStream = (reactFlowNodes: IReactFlowNode[], endingNod
|
||||
}
|
||||
}
|
||||
|
||||
return isChatOrLLMsExist && endingNodeData.category === 'Chains' && !isVectorStoreFaiss(endingNodeData)
|
||||
return (
|
||||
isChatOrLLMsExist &&
|
||||
endingNodeData.category === 'Chains' &&
|
||||
!isVectorStoreFaiss(endingNodeData) &&
|
||||
process.env.EXECUTION_MODE !== 'child'
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user