Skip to content

Commit b232ffb

Browse files
committed
fix: update tool_type to tool_type_list for workspace settings
--bug=1067869@tapd-62980211 --user=刘瑞斌 【应用】简易智能体设置中技能部分不显示已添加的工作流工具 https://www.tapd.cn/62980211/s/1889056
1 parent ea6ae23 commit b232ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/application/ApplicationSetting.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,12 +1179,12 @@ function getToolSelectOptions() {
11791179
apiType.value === 'systemManage'
11801180
? {
11811181
scope: 'WORKSPACE',
1182-
tool_type: 'CUSTOM',
1182+
tool_type_list: ['CUSTOM', 'WORKFLOW'],
11831183
workspace_id: applicationForm.value?.workspace_id,
11841184
}
11851185
: {
11861186
scope: 'WORKSPACE',
1187-
tool_type: 'CUSTOM',
1187+
tool_type_list: ['CUSTOM', 'WORKFLOW'],
11881188
}
11891189
11901190
loadSharedApi({ type: 'tool', systemType: apiType.value })

0 commit comments

Comments
 (0)