mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 图片理解节点可以作为结束节点
--bug=1049088 --user=刘瑞斌 【应用编排】图片理解模型应该可以作为结束节点 https://www.tapd.cn/57709429/s/1612298
This commit is contained in:
parent
56a09d7b2c
commit
a28b55b6ad
|
|
@ -52,7 +52,7 @@ class Node:
|
|||
self.__setattr__(keyword, kwargs.get(keyword))
|
||||
|
||||
|
||||
end_nodes = ['ai-chat-node', 'reply-node', 'function-node', 'function-lib-node', 'application-node']
|
||||
end_nodes = ['ai-chat-node', 'reply-node', 'function-node', 'function-lib-node', 'application-node', 'image-understand-node']
|
||||
|
||||
|
||||
class Flow:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ const end_nodes: Array<string> = [
|
|||
WorkflowType.Reply,
|
||||
WorkflowType.FunctionLib,
|
||||
WorkflowType.FunctionLibCustom,
|
||||
WorkflowType.ImageUnderstandNode,
|
||||
WorkflowType.Application
|
||||
]
|
||||
export class WorkFlowInstance {
|
||||
|
|
|
|||
Loading…
Reference in New Issue