This commit is contained in:
archer
2023-07-01 13:09:02 +08:00
parent 4c54e1821b
commit 9bdd5f522d
85 changed files with 4738 additions and 1236 deletions

View File

@@ -1,4 +1,4 @@
import type { ChatPopulate, ModelSchema } from '@/types/mongoSchema';
import type { ChatPopulate, AppSchema } from '@/types/mongoSchema';
import type { ChatItemType } from '@/types/chat';
export interface InitChatResponse {
@@ -12,7 +12,7 @@ export interface InitChatResponse {
intro: string;
canUse: boolean;
};
chatModel: ModelSchema['chat']['chatModel']; // 对话模型名
chatModel: AppSchema['chat']['chatModel']; // 对话模型名
history: ChatItemType[];
}
@@ -24,5 +24,5 @@ export interface InitShareChatResponse {
avatar: string;
intro: string;
};
chatModel: ModelSchema['chat']['chatModel']; // 对话模型名
chatModel: AppSchema['chat']['chatModel']; // 对话模型名
}