AI Logging should output the raw output on streaming
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3550929. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !943 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently the AI Logging does not actually provide the output on streaming, because its trying to json encode the whole output object, which will not work. It should be the raw repsonse instead.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Try to log streaming event in 1.2.0.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>This should be raw response instead.</p>
issue