- Issue created by @jbuttler
- 🇩🇪Germany marcus_johansson
This is a pretty glaring bug now that I see it. Just to verify - your issue is that you setup two chatbots and they share the history, correct? The session is at the Assistant API level at the moment, however I think they share the temp session id.
So just to be clear - setting up two chatbots with the same assistant will have the same effect on purpose, however setting up two chatbots with different assistants would be buggy currently.
- 🇩🇪Germany marcus_johansson
You are clear in your comment title, sorry. Will work on this.
-
marcus_johansson →
committed 35d31072 on 1.0.x
Issue #3492145: Chatbot History is Shared Between Different Assistants
-
marcus_johansson →
committed 35d31072 on 1.0.x
- 🇩🇪Germany marcus_johansson
There is a fix on dev for the first case, which is the bug part and is part of the assistants api. Please recheck on the latest dev release @jbuttler and set this to fixed if it works. Thanks.
The 2nd case is not a bug per sé, it is how the chatbot was working - thats why its fixed to one location.
Since we most likely will switch this to something we don't have to maintain ourselves and move the current one into a contrib module if someone has interest in maintaining it, just the first case is fixed in this issue. The second case can be fixed if it becomes a contrib module and someone is interested in fixing this.
See: https://www.drupal.org/project/ai/issues/3492048 🌱 Implement a proper javascript framework based Chatbot. Active
I tried the dev version, and everything seems to be working properly. Each assistant remembers their own session history and it is not shared with other assistants. Issue #1 is resolved for me!
I am still experiencing the same issue for number 2. I realize there are probably not a lot of use cases for most people. Thanks for the speedy fix!