add label to gpt-4 messages
parent
f588b3e484
commit
47892360b2
|
@ -233,7 +233,7 @@ export default function MessageComponent(props: { message: Message, last: boolea
|
||||||
<div className="metadata">
|
<div className="metadata">
|
||||||
<span>
|
<span>
|
||||||
<strong>
|
<strong>
|
||||||
{getRoleName(props.message.role, props.share)}<SROnly>:</SROnly>
|
{getRoleName(props.message.role, props.share)}{props.message.model === 'gpt-4' && ' (GPT 4)'}<SROnly>:</SROnly>
|
||||||
</strong>
|
</strong>
|
||||||
{props.message.role === 'assistant' && props.last && !props.message.done && <InlineLoader />}
|
{props.message.role === 'assistant' && props.last && !props.message.done && <InlineLoader />}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue