Autosave node interfers with AI Chatbot
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3505569. -->
Reported by: [the_g_bomb](https://www.drupal.org/user/492012)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>If you are creating or editing a node and you choose to get the AI chatbot to help, requests can be interrupted if the node refreshes after an autosave.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Install Drupal CMS</li>
<li>Enable AI Recipe</li>
<li>Choose to create an article</li>
<li>Start typing your content</li>
<li>Open the AI chatbot</li>
<li>Start to ask it to add a field to the content type</li>
<li>If you are unlucky enough time it so you submit your request just before the autosave is about to trigger, your request vanishes when the node refreshes.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>When the chatbot is open can the autosave be paused?<br>
Perhaps the chatbot should trigger an autosave then pause it, in case any changes haven't been saved yet.</p>
issue