feat: share chat page

This commit is contained in:
archer
2023-05-14 21:37:26 +08:00
parent 5f66f4523c
commit c16d59671f
23 changed files with 2047 additions and 65 deletions

View File

@@ -13,3 +13,13 @@ export interface InitChatResponse {
chatModel: ModelSchema['chat']['chatModel']; // 对话模型名
history: ChatItemType[];
}
export interface InitShareChatResponse {
maxContext: number;
model: {
name: string;
avatar: string;
intro: string;
};
chatModel: ModelSchema['chat']['chatModel']; // 对话模型名
}