mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00

* feat: add user select node (#2300) * feat: add user select node * fix * type * fix * fix * fix * perf: user select code * perf: user select histories * perf: i18n --------- Co-authored-by: heheer <heheer@sealos.io>
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import { FlowNodeTemplateTypeEnum } from '@fastgpt/global/core/workflow/constants';
|
|
import { i18nT } from '../../i18n/utils';
|
|
|
|
export const workflowNodeTemplateList = [
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.systemInput,
|
|
label: i18nT('common:core.module.template.System input module'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.ai,
|
|
label: i18nT('common:core.module.template.AI function'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.search,
|
|
label: i18nT('common:core.workflow.template.Search'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.interactive,
|
|
label: i18nT('common:core.workflow.template.Interactive'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.multimodal,
|
|
label: i18nT('common:core.workflow.template.Multimodal'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.tools,
|
|
label: i18nT('common:core.module.template.Tool module'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.communication,
|
|
label: i18nT('app:workflow.template.communication'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.other,
|
|
label: i18nT('common:common.Other'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.teamApp,
|
|
label: '',
|
|
list: []
|
|
}
|
|
];
|