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