* 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:
Archer
2024-06-01 09:26:11 +08:00
committed by GitHub
parent 9fc6a8c74a
commit a259d034b8
81 changed files with 1775 additions and 594 deletions

View File

@@ -84,6 +84,9 @@ export type DispatchNodeResponseType = {
toolCallTokens?: number;
toolDetail?: ChatHistoryItemResType[];
toolStop?: boolean;
// code
codeLog?: string;
};
export type DispatchNodeResultType<T> = {

View File

@@ -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 },

View File

@@ -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'
}
]
};

View File

@@ -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;