chat layout improoved api overhead reduced