WSOD content type ChatMessage
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3504244. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !54 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The following prompt does not give back a JSON and causes a WSOD on Cotent Type Agent. It gives back an ChatMessage instead of an array in determinTypeOfTask</p> <p><cody><br> Based on the following possible title and prompt can you generate a content type for me?<br> Title: Cool Article<br> Prompt:<br> </cody></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Run it in the agent explorer.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Do validation on the return type of the determinTypeOfTask.</p>
issue