Create a standard way of handling chat history
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3458832. -->
Reported by: [yautja_cetanu](https://www.drupal.org/user/626050)
Related to !558
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>OpenAI Assistants uses the assistants module to handle threads and handling the whole history. We probably want some core implementation of this so if people want a history they can just have it.</p>
<p>- Sometimes this is saved in the memory<br>
- Sometimes this will be saved in the database.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<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