mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
answer node
This commit is contained in:
@ -18,7 +18,7 @@ const nodeDefault: NodeDefault<QuestionClassifierNodeType> = {
|
||||
},
|
||||
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