disable stream when in child mode
This commit is contained in:
parent
9809919868
commit
243eca348d
|
|
@ -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'
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue