mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user