Saving AI Agent via the visual editor doesn't work
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3572309. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
Related to !234
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Discovered while testing <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/flowdrop_ui_agents/-/work_items/3566849" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/flowdrop_ui_agents/-/work_items/3566849</a></span>.<br>
Reported by d34dman and confirmed by joshua1234511</p>
<blockquote><p>
Saving the tool config works, but saving the workflow fails. The override value appears to be reset during the workflow save, this could be a bug in the update or in how the workflow save handles these values (totally a separate bug).</p>
</blockquote>
<p><img src="https://www.drupal.org/files/issues/2026-02-08/Screenshot%202026-02-08%20at%2010.43.28%E2%80%AFAM.png" alt="workflow error"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>- Open an AI Agent in the visual editor<br>
- Double click to open an tool configuration<br>
- Make some changes and save the configuration (config save on bottom of the sidebar panel)<br>
- Save using the button on the top right corner</p>
<p>Expected:<br>
- the values get saved to the config</p>
<p>Result:<br>
- the values don't get saved. this can be confirmed by reloading the page and check if the updated value persists.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>?</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>?</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>N/A</p>
<h3 id="summary-api-changes">API changes</h3>
<p>N/A</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>N/A</p>
> Related issue: [Issue #3566849](https://www.drupal.org/node/3566849)
issue