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:
parent
596b13711f
commit
b53a933327
@ -222,7 +222,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mcpNode: {
|
mcpNode: {
|
||||||
label: 'MCP 调用',
|
label: 'MCP 调用',
|
||||||
text: '通过 SSE 方式执行 MCP 服务中的工具',
|
text: '通过SSE方式执行MCP服务中的工具',
|
||||||
getToolsSuccess: '获取工具成功',
|
getToolsSuccess: '获取工具成功',
|
||||||
getTool: '获取工具',
|
getTool: '获取工具',
|
||||||
tool: '工具',
|
tool: '工具',
|
||||||
|
|||||||
@ -253,7 +253,7 @@ function changeTool() {
|
|||||||
props_info: {}
|
props_info: {}
|
||||||
},
|
},
|
||||||
input_type: 'TextInput',
|
input_type: 'TextInput',
|
||||||
source: 'custom',
|
source: 'referencing',
|
||||||
required: args_schema.properties[item].required?.indexOf(item2) !== -1,
|
required: args_schema.properties[item].required?.indexOf(item2) !== -1,
|
||||||
props_info: {
|
props_info: {
|
||||||
rules: [
|
rules: [
|
||||||
@ -277,7 +277,7 @@ function changeTool() {
|
|||||||
props_info: {}
|
props_info: {}
|
||||||
},
|
},
|
||||||
input_type: 'TextInput',
|
input_type: 'TextInput',
|
||||||
source: 'custom',
|
source: 'referencing',
|
||||||
required: args_schema.required?.indexOf(item) !== -1,
|
required: args_schema.required?.indexOf(item) !== -1,
|
||||||
props_info: {
|
props_info: {
|
||||||
rules: [
|
rules: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user