forked from XiaoMo/ChatGPT-Next-Web
Update chat.tsx
This commit is contained in:
parent
9835206452
commit
6a61fe5776
@ -1154,9 +1154,15 @@ function _Chat() {
|
|||||||
</div>
|
</div>
|
||||||
{isUser ? (
|
{isUser ? (
|
||||||
<Avatar avatar={config.avatar} />
|
<Avatar avatar={config.avatar} />
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
{["system", "context"].includes(message.role) ? (
|
||||||
|
<Avatar avatar="2699-fe0f" />
|
||||||
) : (
|
) : (
|
||||||
<MaskAvatar mask={session.mask} />
|
<MaskAvatar mask={session.mask} />
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{showActions && (
|
{showActions && (
|
||||||
|
Loading…
Reference in New Issue
Block a user