Move code related to converting history messages into UI representation from utils into history/render.lua for better code organization and clean up the implementation.
Move code related to converting history messages into UI representation from utils into history/render.lua for better code organization and clean up the implementation.