Iterators should have the ChatInput object
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3562445. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Short Description: </strong>[One-line issue summary for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>One general problem right now is that we transfer a lot of informationg about how a provider should behave based on the input in the ChatInput, but when the iterator for streaming starts, its unaware of this.</p>
<p>There might be input parameters that matters for the chatiterator that we just do not see.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Make sure that the ChatInput is part of the contract of the iterators.</p>
issue