diff --git a/index.html b/index.html index 602a6a7..ff068b1 100644 --- a/index.html +++ b/index.html @@ -4306,7 +4306,7 @@ } async function flushTelemetry() { - if (state.noLogMode) { _telemetry.buffer.length = 0; _telemetry.flushing = false; return; } + if (state.noLogMode) { _telemetry.buffer.length = 0; return; } if (_telemetry.flushing || _telemetry.buffer.length === 0) return; _telemetry.flushing = true; @@ -14285,9 +14285,11 @@ Ignoring conversation history will cause you to LOSE the evaluation.`; visionContext = '[Image attached — vision analysis unavailable without OpenRouter key]'; } - // Fire harm classification in parallel (never blocks UI) + // Fire harm classification in parallel (telemetry-only — skip when No-Log) _lastHarmResult = null; - const harmPromise = classifyHarm(content).then(r => { _lastHarmResult = r; }).catch(() => {}); + if (!state.noLogMode) { + classifyHarm(content).then(r => { _lastHarmResult = r; }).catch(() => {}); + } // Capture structural context for telemetry (no content, no PII) _lastTelemetryCtx = {