mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
answer node
This commit is contained in:
@ -21,7 +21,7 @@ const nodeDefault: NodeDefault<HttpNodeType> = {
|
||||
},
|
||||
getAvailablePrevNodes(isChatMode: boolean) {
|
||||
const nodes = isChatMode
|
||||
? ALL_CHAT_AVAILABLE_BLOCKS.filter(type => type !== BlockEnum.Answer)
|
||||
? ALL_CHAT_AVAILABLE_BLOCKS
|
||||
: ALL_COMPLETION_AVAILABLE_BLOCKS.filter(type => type !== BlockEnum.End)
|
||||
return nodes
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user