feat: 多会话基础逻辑梳理

This commit is contained in:
ChenZhaoYu committed 2023-02-14 15:07:50 +08:00
1 parent 33c02cfe10
commit de34af8747
11 files changed
+213 -107

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
declare namespace Chat{
interface ChatOptions {
conversationId?: string
parentMessageId?: string
}
interface Chat {
dateTime: string
message: string
reversal?: boolean
error?: boolean
options?: ChatOptions
}
interface HistoryChat {
title: string
isEdit: boolean
data: Chat[]
}
}