Update chat.tsx

This commit is contained in:
Algorithm5838
2023-09-26 20:45:09 +03:00
committed by GitHub
parent 9835206452
commit 6a61fe5776

View File

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