mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-23 15:00:29 +03: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