AI Chatbot: Ensure no avatar information is passed to Deep Chat if empty
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3509360. --> Reported by: [yannickoo](https://www.drupal.org/user/531118) Related to !482 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently it is not possible to make the bot and user avatar image URL empty because it will pass an empty <code>avatars</code> object to Deep Chat.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Add a new Deep Chat block and empty the bot and user image paths.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Remove <code>avatars</code> object completely if the image URLs are empty, that would allow to have a version of the chat without any avatars like in iMessage.</p>
issue