From f5a25cad5be20a365d578c288622152b19a1ac0f Mon Sep 17 00:00:00 2001 From: Cohee Date: Fri, 14 Jul 2023 17:06:01 +0300 Subject: [PATCH] Clear chat metadata on clearing chat --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index 7d01cff0f..8d8079a89 100644 --- a/public/script.js +++ b/public/script.js @@ -1109,6 +1109,7 @@ function clearChat() { $('.zoomed_avatar[forChar]').remove(); } else { console.debug('saw no avatars') } itemizedPrompts = []; + chat_metadata = {}; } async function deleteLastMessage() {