feat: chat model show

This commit is contained in:
archer
2023-07-25 16:11:16 +08:00
parent 35718b1f26
commit e5e720e87e
13 changed files with 72 additions and 53 deletions

View File

@@ -8,10 +8,11 @@ export interface InitChatResponse {
app: {
variableModules?: VariableItemType[];
welcomeText?: string;
chatModels?: string[];
name: string;
avatar: string;
intro: string;
canUse: boolean;
canUse?: boolean;
};
title: string;
variables: Record<string, any>;
@@ -20,11 +21,5 @@ export interface InitChatResponse {
export interface InitShareChatResponse {
userAvatar: string;
app: {
variableModules?: VariableItemType[];
welcomeText?: string;
name: string;
avatar: string;
intro: string;
};
app: InitChatResponse['app'];
}