mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-16 01:09:01 +08:00
perf: index (#6131)
* perf: index * stop design doc * perf: stop workflow;perf: mongo connection * fix: ts * mq export
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user