mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-09 08:30:13 +01:00
Typing indicator fixed
This commit is contained in:
parent
3ab1962b84
commit
0fcf8fd491
@ -716,10 +716,6 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
|
||||
setCharacterId(chId);
|
||||
setCharacterName(characters[chId].name);
|
||||
|
||||
// Wait for generation to finish
|
||||
const generateFinished = await Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) });
|
||||
await generateFinished;
|
||||
|
||||
if (type !== 'swipe' && type !== 'impersonate' && !isStreamingEnabled()) {
|
||||
// update indicator and scroll down
|
||||
typingIndicator
|
||||
@ -727,6 +723,10 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
|
||||
.text(characters[chId].name);
|
||||
typingIndicator.show();
|
||||
}
|
||||
|
||||
// Wait for generation to finish
|
||||
const generateFinished = await Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) });
|
||||
await generateFinished;
|
||||
}
|
||||
} finally {
|
||||
typingIndicator.hide();
|
||||
|
@ -636,6 +636,7 @@ hr {
|
||||
display: none;
|
||||
order: 2;
|
||||
padding-right: 2px;
|
||||
place-self: center;
|
||||
}
|
||||
|
||||
#options_button {
|
||||
|
Loading…
x
Reference in New Issue
Block a user