System plugin adapt reference type in plugin input (#2965)

* perf: plugin input support reference

* perf: system plugin adapt plugin input reference
This commit is contained in:
Archer
2024-10-22 14:51:15 +08:00
committed by GitHub
parent 618729a254
commit 87b4061302
16 changed files with 145 additions and 235 deletions

View File

@@ -8,7 +8,7 @@
"weight": 10,
"isTool": true,
"templateType": "tools",
"templateType": "search",
"workflow": {
"nodes": [
@@ -26,7 +26,7 @@
"version": "481",
"inputs": [
{
"renderTypeList": ["input"],
"renderTypeList": ["input", "reference"],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": true,
@@ -43,7 +43,7 @@
"required": true
},
{
"renderTypeList": ["input"],
"renderTypeList": ["input", "reference"],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": true,
@@ -51,10 +51,11 @@
"label": "key",
"description": "Google搜索key",
"defaultValue": "",
"required": true
"required": true,
"list": []
},
{
"renderTypeList": ["reference"],
"renderTypeList": ["input", "reference"],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": true,