mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
4.8.3 (#1654)
* Milvus (#1644) * feat: support regx * 4.8.3 test and fix (#1648) * perf: version tip * feat: sandbox support log * fix: debug component render * fix: share page header * fix: input guide auth * fix: iso viewport * remove file * fix: route url * feat: add debug timout * perf: reference select support trigger * perf: session code * perf: theme * perf: load milvus
This commit is contained in:
@@ -84,6 +84,9 @@ export type DispatchNodeResponseType = {
|
||||
toolCallTokens?: number;
|
||||
toolDetail?: ChatHistoryItemResType[];
|
||||
toolStop?: boolean;
|
||||
|
||||
// code
|
||||
codeLog?: string;
|
||||
};
|
||||
|
||||
export type DispatchNodeResultType<T> = {
|
||||
|
@@ -8,6 +8,8 @@ export enum VariableConditionEnum {
|
||||
startWith = 'startWith',
|
||||
endWith = 'endWith',
|
||||
|
||||
reg = 'reg',
|
||||
|
||||
greaterThan = 'greaterThan',
|
||||
greaterThanOrEqualTo = 'greaterThanOrEqualTo',
|
||||
lessThan = 'lessThan',
|
||||
@@ -31,6 +33,7 @@ export const stringConditionList = [
|
||||
{ label: '不为空', value: VariableConditionEnum.isNotEmpty },
|
||||
{ label: '等于', value: VariableConditionEnum.equalTo },
|
||||
{ label: '不等于', value: VariableConditionEnum.notEqual },
|
||||
{ label: '正则', value: VariableConditionEnum.reg },
|
||||
{ label: '包含', value: VariableConditionEnum.include },
|
||||
{ label: '不包含', value: VariableConditionEnum.notInclude },
|
||||
{ label: '开始为', value: VariableConditionEnum.startWith },
|
||||
|
@@ -67,6 +67,20 @@ export const CodeNode: FlowNodeTemplateType = {
|
||||
description: '代码运行错误信息,成功时返回空',
|
||||
valueType: WorkflowIOValueTypeEnum.object,
|
||||
type: FlowNodeOutputTypeEnum.static
|
||||
},
|
||||
{
|
||||
id: 'qLUQfhG0ILRX',
|
||||
type: FlowNodeOutputTypeEnum.dynamic,
|
||||
key: 'result',
|
||||
valueType: WorkflowIOValueTypeEnum.string,
|
||||
label: 'result'
|
||||
},
|
||||
{
|
||||
id: 'gR0mkQpJ4Og8',
|
||||
type: FlowNodeOutputTypeEnum.dynamic,
|
||||
key: 'data2',
|
||||
valueType: WorkflowIOValueTypeEnum.string,
|
||||
label: 'data2'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
2
packages/global/core/workflow/type/io.d.ts
vendored
2
packages/global/core/workflow/type/io.d.ts
vendored
@@ -43,7 +43,7 @@ export type FlowNodeInputItemType = {
|
||||
|
||||
export type FlowNodeOutputItemType = {
|
||||
id: string; // output unique id(Does not follow the key change)
|
||||
type: `${FlowNodeOutputTypeEnum}`;
|
||||
type: FlowNodeOutputTypeEnum;
|
||||
key: `${NodeOutputKeyEnum}` | string;
|
||||
valueType?: WorkflowIOValueTypeEnum;
|
||||
value?: any;
|
||||
|
Reference in New Issue
Block a user