mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
Fixed the duplicate data check problem, history filter and add tts stream (#477)
This commit is contained in:
3
packages/global/core/chat/type.d.ts
vendored
3
packages/global/core/chat/type.d.ts
vendored
@@ -39,7 +39,6 @@ export type ChatItemSchema = {
|
||||
userFeedback?: string;
|
||||
adminFeedback?: AdminFbkType;
|
||||
[TaskResponseKeyEnum.responseData]?: ChatHistoryItemResType[];
|
||||
tts?: Buffer;
|
||||
};
|
||||
|
||||
export type AdminFbkType = {
|
||||
@@ -62,7 +61,7 @@ export type ChatItemType = {
|
||||
export type ChatSiteItemType = {
|
||||
status: 'loading' | 'running' | 'finish';
|
||||
moduleName?: string;
|
||||
ttsBuffer?: Buffer;
|
||||
ttsBuffer?: Uint8Array;
|
||||
} & ChatItemType;
|
||||
|
||||
export type HistoryItemType = {
|
||||
|
Reference in New Issue
Block a user