Fix SD prefixes for first in the list
| @@ -783,7 +783,7 @@ async function onCharacterNegativePromptInput() { | |||
| 783 | } | 783 | } |
| 784 | 784 | ||
| 785 | function getCharacterPrefix() { | 785 | function getCharacterPrefix() { |
| 786 | if (!this_chid || selected_group) { | 786 | if (this_chid === undefined || selected_group) { |
| 787 | return ''; | 787 | return ''; |
| 788 | } | 788 | } |
| 789 | 789 | ||
| @@ -797,7 +797,7 @@ function getCharacterPrefix() { | |||
| 797 | } | 797 | } |
| 798 | 798 | ||
| 799 | function getCharacterNegativePrefix() { | 799 | function getCharacterNegativePrefix() { |
| 800 | if (!this_chid || selected_group) { | 800 | if (this_chid === undefined || selected_group) { |
| 801 | return ''; | 801 | return ''; |
| 802 | } | 802 | } |
| 803 | 803 | ||