add label to gpt-4 messages

main
Cogent Apps 2023-03-15 22:18:53 +00:00
parent f588b3e484
commit 47892360b2
1 changed files with 1 additions and 1 deletions

View File

@ -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>