Continue Generating is starting over the repsonse

There is a bug. The Continue Generating button actually starts the answer over.

Here is an example:
Other code above here
const buttonUrlInput = document.createElement(‘input’);
buttonUrlInput.type = ‘text’;
buttonUrlInput.placeholder = ‘Button URL or Postback Data’;
buttonUrlInput.className = ‘form-control mb-2’;
galleryContainer.appendChild****[CONTINUE GENERATE HAPPEND HERE]**** Let’scomplete the configuration for gallery items and finalize the implementation.

Updated JavaScript (script.js)

This script will initialize the static Facebook and Instagram comment blocks, and provide configuration options for initial messages, images, buttons, and galleries. Each block will include fields for metrics and the option to set buttons as links or postbacks.

document.addEventListener(‘DOMContentLoaded’, function () {
const canvas = document.getElementById(‘canvas’);
const configPanel = document.getElementById(‘config-panel’);
const flowTitleInput = document.getElementById(‘flowTitle’);

1 Like