Chatbot History is Shared Between Different AI Assistants
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3492145. -->
Reported by: [jbuttler](https://www.drupal.org/user/3437983)
>>>
<p>Let me first say that I love the history feature, and I think its an excellent addition. I am looking forward to the upcoming database history feature.</p>
<p>My chatbots are all sharing the same history and conversations. I have 2 different examples of how mixing the history between bots is causing a conflict, that are easy to reproduce on my site. If these should be separate issues please let me know and I can split them. But they seem like part of the same issue so I will let someone else judge.<br>
-------------------------------------------------<br>
<strong>1. When changing pages</strong><br>
- Interact with any AI assistant placed in a block on a page.<br>
- Go to a different page with a different AI assistant.<br>
- The chat from the first bot appears in the history, and the second bot responds as though it engaged in the first conversation.</p>
<p><strong>2. With 2 chatbots on the same page</strong><br>
- Place 2 different AI assistants in blocks on the same page.<br>
- Force relative positioning with CSS so both assistants can be displayed in a block region, side-by-side.<br>
- Interact with one bot<br>
- The second bot tracks all of the interactions, but only one of the bots is able to answer questions.<br>
- The bot that answers sometimes follows the instructions for the other bot.</p>
issue