mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Comment out persona preservation on character swap with personas open
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user