Merging of vector input and recursive retrieval for AI Search incorrectly reverted
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3556306. -->
Reported by: [scott_euser](https://www.drupal.org/user/3267594)
Related to !998
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The code from <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3489566" title="Status: Closed (fixed)">#3489566: Support vector search by user supplied vectors in AI Search</a></span> was partially reverted when <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3526390" title="Status: Closed (fixed)">#3526390: Improve the AI Search recursive retrieval of a specific quantity of results</a></span> was merged. It therefore no longer works in some scenarios.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>Provide vector input and attempt to use grouping at the same time</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix merge conflict</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>MR</p>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
<p>N/A</p>
issue