chat box
This commit is contained in:
9
client/src/api/response/chat.d.ts
vendored
9
client/src/api/response/chat.d.ts
vendored
@@ -1,5 +1,6 @@
|
||||
import type { ChatPopulate, AppSchema } from '@/types/mongoSchema';
|
||||
import type { ChatItemType } from '@/types/chat';
|
||||
import { VariableItemType } from '@/types/app';
|
||||
|
||||
export interface InitChatResponse {
|
||||
chatId: string;
|
||||
@@ -17,13 +18,13 @@ export interface InitChatResponse {
|
||||
}
|
||||
|
||||
export interface InitShareChatResponse {
|
||||
maxContext: number;
|
||||
userAvatar: string;
|
||||
appId: string;
|
||||
model: {
|
||||
maxContext: number;
|
||||
app: {
|
||||
variableModules?: VariableItemType[];
|
||||
welcomeText?: string;
|
||||
name: string;
|
||||
avatar: string;
|
||||
intro: string;
|
||||
};
|
||||
chatModel: AppSchema['chat']['chatModel']; // 对话模型名
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user