Merge branch 'Yidadaa:main' into main

This commit is contained in:
Hk-Gosuto 2023-09-27 22:35:21 +08:00 committed by GitHub
commit 686e997e46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1184,9 +1184,15 @@ function _Chat() {
</div> </div>
{isUser ? ( {isUser ? (
<Avatar avatar={config.avatar} /> <Avatar avatar={config.avatar} />
) : (
<>
{["system"].includes(message.role) ? (
<Avatar avatar="2699-fe0f" />
) : ( ) : (
<MaskAvatar mask={session.mask} /> <MaskAvatar mask={session.mask} />
)} )}
</>
)}
</div> </div>
{showActions && ( {showActions && (