RAG action gets unchecked on save, if use agent as assistant not selected.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3526982. --> Reported by: [anjaliprasannan](https://www.drupal.org/user/3637917) Related to !635 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When trying to add ai assistant with rag action enabled and use agent as assistant not selected. I tried to edit the newly created ai assistant, the rag action gets unchecked. </p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>Add a ai assistant at admin/config/ai/ai-assistant</li> <li>Do not select the use agent as assistant</li> <li>Enable the RAG action and save the changes.</li> <li>Edit the newly created assistant to find the Rag action unchecked.</li> </ul> <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