Query parameters do not update when the value in the agent field is changed in the AI Agent Explorer form
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3520437. --> Reported by: [bhumika madan](https://www.drupal.org/user/3809742) Related to !98 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When a user selects or changes the value in the "Agent" field within the AI Agent Explorer form, the corresponding query parameters in the URL are not updated accordingly. This results in inconsistent UI state, making it difficult for users to share or revisit the same agent selection via URL parameters.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. Navigate to the AI Agent Explorer page.</p> <p>2. Observe the current query parameters in the URL.</p> <p>3. Change the value in the "Agent" dropdown or selection field.</p> <p>4. Observe that the URL does not update to reflect the new agent value.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Implement JavaScript behavior to update the URL&rsquo;s query parameters dynamically whenever the agent selection changes.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>No Remaining tasks</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>No changes to User interface changes</p> <h3 id="summary-api-changes">API changes</h3> <p>No changes to API changes</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>No changes to Data model changes</p>
issue