perf: index (#6131)

* perf: index

* stop design doc

* perf: stop workflow;perf: mongo connection

* fix: ts

* mq export
This commit is contained in:
Archer
2025-12-21 19:15:10 +08:00
committed by GitHub
parent 4f95f6867e
commit 2fea73bb68
32 changed files with 1419 additions and 238 deletions
+3 -2
View File
@@ -40,6 +40,7 @@ export type ExternalProviderType = {
/* workflow props */
export type ChatDispatchProps = {
res?: NextApiResponse;
checkIsStopping: () => boolean;
lang?: localeType;
requestOrigin?: string;
mode: 'test' | 'chat' | 'debug';
@@ -63,7 +64,7 @@ export type ChatDispatchProps = {
};
uid: string; // Who run this workflow
chatId?: string;
chatId: string;
responseChatItemId?: string;
histories: ChatItemType[];
variables: Record<string, any>; // global variable
@@ -76,7 +77,7 @@ export type ChatDispatchProps = {
maxRunTimes: number;
isToolCall?: boolean;
workflowStreamResponse?: WorkflowResponseType;
version?: 'v1' | 'v2';
apiVersion?: 'v1' | 'v2';
workflowDispatchDeep: number;