fix: 加载优化、vip状态优化、apikey优化
This commit is contained in:
@@ -17,7 +17,7 @@ import { useChatStore } from '@/stores/modules/chat';
|
||||
import { useFilesStore } from '@/stores/modules/files';
|
||||
import { useModelStore } from '@/stores/modules/model';
|
||||
import { useUserStore } from '@/stores/modules/user';
|
||||
import { systemProfilePicture, userProfilePicture } from '@/utils/user.ts';
|
||||
import { getUserProfilePicture, systemProfilePicture } from '@/utils/user.ts';
|
||||
import '@/styles/github-markdown.css';
|
||||
import '@/styles/yixin-markdown.scss';
|
||||
|
||||
@@ -233,7 +233,7 @@ function addMessage(message: string, isUser: boolean) {
|
||||
const obj: MessageItem = {
|
||||
key: i,
|
||||
avatar: isUser
|
||||
? userProfilePicture
|
||||
? getUserProfilePicture()
|
||||
: systemProfilePicture,
|
||||
avatarSize: '32px',
|
||||
role: isUser ? 'user' : 'assistant',
|
||||
|
||||
Reference in New Issue
Block a user