refactor: update input source type from 'custom' to 'referencing'

--bug=1054147 --user=刘瑞斌 【MCP调用节点】工具参数默认方式是引用变量 https://www.tapd.cn/57709429/s/1678769
This commit is contained in:
CaptainB 2025-04-01 10:28:42 +08:00
parent 596b13711f
commit b53a933327
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ export default {
},
mcpNode: {
label: 'MCP 调用',
text: '通过 SSE 方式执行 MCP 服务中的工具',
text: '通过SSE方式执行MCP服务中的工具',
getToolsSuccess: '获取工具成功',
getTool: '获取工具',
tool: '工具',

View File

@ -253,7 +253,7 @@ function changeTool() {
props_info: {}
},
input_type: 'TextInput',
source: 'custom',
source: 'referencing',
required: args_schema.properties[item].required?.indexOf(item2) !== -1,
props_info: {
rules: [
@ -277,7 +277,7 @@ function changeTool() {
props_info: {}
},
input_type: 'TextInput',
source: 'custom',
source: 'referencing',
required: args_schema.required?.indexOf(item) !== -1,
props_info: {
rules: [