From 6541dcbc66d650b9c9ebd36d70524af5cd8e295e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 26 Feb 2025 00:03:46 +0200 Subject: [PATCH] Comment out persona preservation on character swap with personas open --- public/scripts/personas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/personas.js b/public/scripts/personas.js index 83de386ed..ae04f19eb 100644 --- a/public/scripts/personas.js +++ b/public/scripts/personas.js @@ -1382,6 +1382,7 @@ async function loadPersonaForCurrentChat({ doRender = false } = {}) { // If the persona panel is open when the chat changes, this is likely because a character was selected from that panel. // In that case, we are not automatically switching persona - but need to make changes if there is any chat-bound connection + /* if (isPersonaPanelOpen()) { if (chatPersona) { // If the chat-bound persona is the currently selected one, we can simply exit out @@ -1404,6 +1405,7 @@ async function loadPersonaForCurrentChat({ doRender = false } = {}) { return false; } } + */ // Check if we have any persona connected to the current character if (!chatPersona) {