mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix SD prefixes for first in the list
This commit is contained in:
@@ -783,7 +783,7 @@ async function onCharacterNegativePromptInput() {
|
||||
}
|
||||
|
||||
function getCharacterPrefix() {
|
||||
if (!this_chid || selected_group) {
|
||||
if (this_chid === undefined || selected_group) {
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -797,7 +797,7 @@ function getCharacterPrefix() {
|
||||
}
|
||||
|
||||
function getCharacterNegativePrefix() {
|
||||
if (!this_chid || selected_group) {
|
||||
if (this_chid === undefined || selected_group) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user