mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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: {
|
||||
label: 'MCP 调用',
|
||||
text: '通过 SSE 方式执行 MCP 服务中的工具',
|
||||
text: '通过SSE方式执行MCP服务中的工具',
|
||||
getToolsSuccess: '获取工具成功',
|
||||
getTool: '获取工具',
|
||||
tool: '工具',
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue