Use streamed chat for agents
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538174. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !165
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We are making streamed chat possible in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3528549" title="Status: Closed (fixed)">#3528549: Allow tool calling in streamed chat</a></span>. This should make it possible to use it with agents.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Implement a solution based on <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3528549" title="Status: Closed (fixed)">#3528549: Allow tool calling in streamed chat</a></span></p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue