AI Assistant RAG search doesn't work without session on
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3475578. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently the RAG search doesn't show up for the assistant message, unless the session variable is turned on. It should work in all modes.</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