Use the Chat History, in the AiAgentEntityWrapper if wanted
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3523967. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !122
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently you can send Chat History into the agent runner, however it doesn't really use it and still depends on a task object to exist.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Try to call the AiAgentEntityWrapper from an AgentRunner with Chat history only.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Make sure that it doesn't fail, because it has dependencies on Task.</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