Button = document.getElementById("encode-info-apply");
        sendConfigData("/api/encode-info", data, applyButton, "encode-info-feedback"); // Replace with actual server endpoint
      }
      async function fetchEncodeInfo() {
          const data = await fetchSectionData("encode-info");
          document.getElementById("brand").value = data.brand;
          document.getElementById("color-name").value = data.color_name;
          document.getElementById("filament-subtype").value = data.filament_subtype;