{(!isSystem || isSystemError) && (systemErrorText ?? message.text) ? ( {systemErrorText ?? message.text} ) : null} {!isSystem && message.attachments.length ? ( {message.attachments.map((attachment) => ( ))} ) : null} {message.toolCall ? ( ) : null}