From 466d489a2ffb3b9e776e904f06befe0ec58e04e4 Mon Sep 17 00:00:00 2001 From: faber Date: Mon, 13 Jul 2026 08:59:31 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20make=20No-Log=20Mode=20functional=20?= =?UTF-8?q?=E2=80=94=20gate=20telemetry=20collection,=20clear=20buffer=20o?= =?UTF-8?q?n=20enable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - trackEvent() returns early when state.noLogMode is true (no events buffered or sent) - Toggling No-Log on immediately clears pending buffer - Remove dead no_log field from telemetry context - Update UI description to accurately state it disables G0DM0D3 telemetry Co-Authored-By: Claude Opus 4.6 --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 44be6c1..4aa7c0d 100644 --- a/index.html +++ b/index.html @@ -3666,7 +3666,7 @@ - Privacy preference — recorded in local telemetry metadata only. Does not change provider-side logging. + Disables G0DM0D3 usage telemetry. Does not affect provider-side (OpenRouter/Venice) logging.
@@ -4283,6 +4283,8 @@ }; function trackEvent(type, data) { + if (state.noLogMode) return; + const event = { type, timestamp: Date.now(), @@ -14286,7 +14288,6 @@ Ignoring conversation history will cause you to LOSE the evaluation.`; persona: conv.persona || state.persona || 'godmode', prompt_length: content.length, conversation_depth: conv.messages.length, - no_log: !!state.noLogMode, has_image: !!attachedImage, }; @@ -16502,6 +16503,7 @@ Ignoring conversation history will cause you to LOSE the evaluation.`; state.customSystemPrompt = document.getElementById('customSystemPromptInput').value; updateSystemPromptUI(); state.noLogMode = document.getElementById('noLogMode').checked; + if (state.noLogMode) { _telemetry.buffer.length = 0; } state.showMagic = document.getElementById('showMagic').checked; state.waitingGame = document.getElementById('waitingGameSelect').value; state.autoRetry = document.getElementById('autoRetry').checked;