perf: save chat and del chat content;UI
This commit is contained in:
6
src/types/chat.d.ts
vendored
6
src/types/chat.d.ts
vendored
@@ -1,5 +1,7 @@
|
||||
export type ChatItemType = {
|
||||
export type ChatItemSimpleType = {
|
||||
obj: 'Human' | 'AI' | 'SYSTEM';
|
||||
value: string;
|
||||
deleted?: boolean;
|
||||
};
|
||||
export type ChatItemType = {
|
||||
_id: string;
|
||||
} & ChatItemSimpleType;
|
||||
|
||||
Reference in New Issue
Block a user