Fix SD prefixes for first in the list

This commit is contained in:
Cohee 2025-02-28 10:38:42 +02:00
parent 50e49cd67b
commit 76e45abfc6

View File

@ -783,7 +783,7 @@ async function onCharacterNegativePromptInput() {
} }
function getCharacterPrefix() { function getCharacterPrefix() {
if (!this_chid || selected_group) { if (this_chid === undefined || selected_group) {
return ''; return '';
} }
@ -797,7 +797,7 @@ function getCharacterPrefix() {
} }
function getCharacterNegativePrefix() { function getCharacterNegativePrefix() {
if (!this_chid || selected_group) { if (this_chid === undefined || selected_group) {
return ''; return '';
} }