mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 10:07:24 +00:00
User select node (#2397)
* 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>
This commit is contained in:
@@ -3,6 +3,7 @@ export enum FlowNodeTemplateTypeEnum {
|
||||
ai = 'ai',
|
||||
function = 'function',
|
||||
tools = 'tools',
|
||||
interactive = 'interactive',
|
||||
|
||||
search = 'search',
|
||||
multimodal = 'multimodal',
|
||||
@@ -123,7 +124,9 @@ export enum NodeInputKeyEnum {
|
||||
codeType = 'codeType', // js|py
|
||||
|
||||
// read files
|
||||
fileUrlList = 'fileUrlList'
|
||||
fileUrlList = 'fileUrlList',
|
||||
// user select
|
||||
userSelectOptions = 'userSelectOptions'
|
||||
}
|
||||
|
||||
export enum NodeOutputKeyEnum {
|
||||
@@ -162,7 +165,11 @@ export enum NodeOutputKeyEnum {
|
||||
// plugin
|
||||
pluginStart = 'pluginStart',
|
||||
|
||||
ifElseResult = 'ifElseResult'
|
||||
// if else
|
||||
ifElseResult = 'ifElseResult',
|
||||
|
||||
//user select
|
||||
selectResult = 'selectResult'
|
||||
}
|
||||
|
||||
export enum VariableInputEnum {
|
||||
|
Reference in New Issue
Block a user