Skip to content

Commit a62648c

Browse files
committed
fix: 图片理解节点可以作为结束节点
--bug=1049088 --user=刘瑞斌 【应用编排】图片理解模型应该可以作为结束节点 https://www.tapd.cn/57709429/s/1612298
1 parent 56a09d7 commit a62648c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/application/flow/workflow_manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, _id: str, _type: str, x: int, y: int, properties: dict, **kwa
5252
self.__setattr__(keyword, kwargs.get(keyword))
5353

5454

55-
end_nodes = ['ai-chat-node', 'reply-node', 'function-node', 'function-lib-node', 'application-node']
55+
end_nodes = ['ai-chat-node', 'reply-node', 'function-node', 'function-lib-node', 'application-node', 'image-understand-node']
5656

5757

5858
class Flow:

ui/src/workflow/common/validate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const end_nodes: Array<string> = [
55
WorkflowType.Reply,
66
WorkflowType.FunctionLib,
77
WorkflowType.FunctionLibCustom,
8+
WorkflowType.ImageUnderstandNode,
89
WorkflowType.Application
910
]
1011
export class WorkFlowInstance {

0 commit comments

Comments
 (0)