Skip to content

Commit b53a933

Browse files
committed
refactor: update input source type from 'custom' to 'referencing'
--bug=1054147 --user=刘瑞斌 【MCP调用节点】工具参数默认方式是引用变量 https://www.tapd.cn/57709429/s/1678769
1 parent 596b137 commit b53a933

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/src/locales/lang/zh-CN/views/application-workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export default {
222222
},
223223
mcpNode: {
224224
label: 'MCP 调用',
225-
text: '通过 SSE 方式执行 MCP 服务中的工具',
225+
text: '通过SSE方式执行MCP服务中的工具',
226226
getToolsSuccess: '获取工具成功',
227227
getTool: '获取工具',
228228
tool: '工具',

ui/src/workflow/nodes/mcp-node/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function changeTool() {
253253
props_info: {}
254254
},
255255
input_type: 'TextInput',
256-
source: 'custom',
256+
source: 'referencing',
257257
required: args_schema.properties[item].required?.indexOf(item2) !== -1,
258258
props_info: {
259259
rules: [
@@ -277,7 +277,7 @@ function changeTool() {
277277
props_info: {}
278278
},
279279
input_type: 'TextInput',
280-
source: 'custom',
280+
source: 'referencing',
281281
required: args_schema.required?.indexOf(item) !== -1,
282282
props_info: {
283283
rules: [

0 commit comments

Comments
 (0)