mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Update index.ts
This commit is contained in:
@@ -477,7 +477,7 @@ export const replaceInputsWithConfig = (flowNodeData: INodeData, overrideConfig:
|
|||||||
*/
|
*/
|
||||||
export const isStartNodeDependOnInput = (startingNodes: IReactFlowNode[], nodes: IReactFlowNode[]): boolean => {
|
export const isStartNodeDependOnInput = (startingNodes: IReactFlowNode[], nodes: IReactFlowNode[]): boolean => {
|
||||||
for (const node of startingNodes) {
|
for (const node of startingNodes) {
|
||||||
if (node.data.category === 'LLM Cache') return true
|
if (node.data.category === 'Cache') return true
|
||||||
for (const inputName in node.data.inputs) {
|
for (const inputName in node.data.inputs) {
|
||||||
const inputVariables = getInputVariables(node.data.inputs[inputName])
|
const inputVariables = getInputVariables(node.data.inputs[inputName])
|
||||||
if (inputVariables.length > 0) return true
|
if (inputVariables.length > 0) return true
|
||||||
|
|||||||
Reference in New Issue
Block a user