Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2912 from Algorithm5838/Algorithm58…
Browse files Browse the repository at this point in the history
…38-patch-1
  • Loading branch information
Yidadaa committed Sep 27, 2023
2 parents 9835206 + 398e229 commit 144200e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,13 @@ function _Chat() {
{isUser ? (
<Avatar avatar={config.avatar} />
) : (
<MaskAvatar mask={session.mask} />
<>
{["system"].includes(message.role) ? (
<Avatar avatar="2699-fe0f" />
) : (
<MaskAvatar mask={session.mask} />
)}
</>
)}
</div>

Expand Down

0 comments on commit 144200e

Please sign in to comment.