mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 00:17:31 +00:00

* System template (#2082) * feat: system plugin (#2024) * add plugin cost & change plugin avatar (#2030) * add plugin cost & change plugin avatar * add author * feat: duckduckgo plugin * duckduck search * perf: templates select system plugin * perf: system plugin avatar * feat: duckduck plugins * doc * perf: plugin classify * perf: icon avatar component * perf: system template avatar --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com> * feat: system plugin search * perf: plugin packages important * perf: source avatar * nextconfig * perf: i18n * perf: default model * perf: system plugin author --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import { FlowNodeTemplateTypeEnum } from '@fastgpt/global/core/workflow/constants';
|
|
import { NodeTemplateListType } from '@fastgpt/global/core/workflow/type/node';
|
|
import { TFunction } from 'next-i18next';
|
|
|
|
export const workflowNodeTemplateList = (t: TFunction): NodeTemplateListType => [
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.systemInput,
|
|
label: t('common:core.module.template.System input module'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.ai,
|
|
label: t('common:core.module.template.AI function'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.tools,
|
|
label: t('common:core.module.template.Tool module'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.search,
|
|
label: t('core.workflow.template.Search'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.multimodal,
|
|
label: t('core.workflow.template.Multimodal'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.other,
|
|
label: t('common:common.Other'),
|
|
list: []
|
|
},
|
|
{
|
|
type: FlowNodeTemplateTypeEnum.teamApp,
|
|
label: '',
|
|
list: []
|
|
}
|
|
];
|