anvas.toDataURL("image/jpeg");
          logMessage("üì∏ Captured. Simulating send...");

          try {
            mockSendToBackend(base64);
          } catch (error) {
            logMessage("‚ùå Error: " + error.message);
          }
        }

        function toggleCapture() {
          captureImageBase64();
        }

        async function mockSendToBackend(base64) {
          try {
            // Generate vector embedding
            const currentDescription = await updateDescription(b