mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
parent
9493d05f2c
commit
2030c2c711
@ -4775,6 +4775,11 @@ export function shouldAutoContinue(messageChunk, isImpersonate) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (abortController && abortController.signal.aborted) {
|
||||||
|
console.debug('Auto-continue is not triggered because the generation was stopped.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (power_user.auto_continue.target_length <= 0) {
|
if (power_user.auto_continue.target_length <= 0) {
|
||||||
console.log('Auto-continue target length is 0, not triggering auto-continue');
|
console.log('Auto-continue target length is 0, not triggering auto-continue');
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user