mirror of
https://github.com/langgenius/dify.git
synced 2026-03-18 07:59:45 +08:00
fix: can not use converstation vars in var aggregator node
This commit is contained in:
parent
f5f11f5a9e
commit
8462c79179
@ -132,7 +132,6 @@ export const useGetAvailableVars = () => {
|
||||
|
||||
if (!currentNode)
|
||||
return []
|
||||
|
||||
const beforeNodes = getBeforeNodesInSameBranchIncludeParent(nodeId)
|
||||
availableNodes.push(...beforeNodes)
|
||||
const parentNode = nodes.find(node => node.id === currentNode.parentId)
|
||||
@ -143,7 +142,7 @@ export const useGetAvailableVars = () => {
|
||||
beforeNodes: uniqBy(availableNodes, 'id').filter(node => node.id !== nodeId),
|
||||
isChatMode,
|
||||
hideEnv,
|
||||
hideChatVar: hideEnv,
|
||||
hideChatVar: false,
|
||||
filterVar,
|
||||
})
|
||||
.map(node => ({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user