"Allow history" set to "session" or "session on thread" breaks AI search rag tool
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3475167. --> Reported by: [vivek panicker](https://www.drupal.org/user/3540616) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When I ask some follow-up question in the chatbot, it sometimes just gives a single line answer, something like -<br> <code>Thank you for the question. I will search.</code><br> But then it does not give any other response.<br> An example follow up question:<br> <code>Which of the above is available in Asia?</code><br> An example response:<br> <code>Thank you for the question. I will search the RAG database for information on engines available in Asia.</code></p> <p>It is not doing search based on the previous context.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>- Install AI module, configure VDB provider and assistant<br> - Configure Assistant to use "Session" in "Allow History".<br> - Talk to chatbot </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>TBD</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>NA</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>NA</p> <h3 id="summary-api-changes">API changes</h3> <p>NA</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>NA</p>
issue