mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix group reply generation with streaming
This commit is contained in:
@ -2034,7 +2034,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
let mesSend = [];
|
||||
console.debug('calling runGenerate');
|
||||
streamingProcessor = isStreamingEnabled() ? new StreamingProcessor(type, force_name2) : false;
|
||||
await runGenerate();
|
||||
runGenerate();
|
||||
|
||||
async function runGenerate(cycleGenerationPromt = '') {
|
||||
is_send_press = true;
|
||||
|
@ -516,7 +516,7 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
|
||||
setCharacterId(chId);
|
||||
setCharacterName(characters[chId].name)
|
||||
|
||||
Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) });
|
||||
await Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) });
|
||||
|
||||
if (type !== "swipe" && type !== "impersonate" && !isMultigenEnabled() && !isStreamingEnabled()) {
|
||||
// update indicator and scroll down
|
||||
|
Reference in New Issue
Block a user