mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
Plugin support select file (#2756)
* feat: plugin support upload files (#2716) * feat: plugin support file upload * file history * fix history & chattest * chore: code * plugin config icon & file preview padding * perf: undefined fn * fix: plugin file numbers & plugin template add config (#2743) * perf: run plugin without human message (#2749) * perf: run plugin without human message * fix build * fix build * rename node * perf: ui * perf: plugin rerun with last params & plugin log add file (#2755) * perf: plugin run with last params & plugin log add file * delete console * perf: plugin refresh code * fix: ts --------- Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -360,7 +360,7 @@ export const emptyTemplates: Record<
|
||||
nodes: [
|
||||
{
|
||||
nodeId: 'pluginInput',
|
||||
name: i18nT('common:core.module.template.self_input'),
|
||||
name: i18nT('workflow:template.plugin_start'),
|
||||
avatar: 'core/workflow/template/workflowStart',
|
||||
flowNodeType: FlowNodeTypeEnum.pluginInput,
|
||||
showStatus: false,
|
||||
@@ -385,6 +385,20 @@ export const emptyTemplates: Record<
|
||||
version: '481',
|
||||
inputs: [],
|
||||
outputs: []
|
||||
},
|
||||
{
|
||||
nodeId: 'pluginConfig',
|
||||
name: i18nT('common:core.module.template.system_config'),
|
||||
intro: '',
|
||||
avatar: 'core/workflow/template/systemConfig',
|
||||
flowNodeType: FlowNodeTypeEnum.pluginConfig,
|
||||
position: {
|
||||
x: 184.66337662472682,
|
||||
y: -216.05298493910115
|
||||
},
|
||||
version: '4811',
|
||||
inputs: [],
|
||||
outputs: []
|
||||
}
|
||||
],
|
||||
edges: []
|
||||
|
Reference in New Issue
Block a user