mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-17 20:40:10 +01:00
Fix SD prefixes for first in the list
This commit is contained in:
parent
50e49cd67b
commit
76e45abfc6
@ -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 '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user