mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-09 16:04:10 +01:00
Fix /trigger getting stuck on generation lock timeout
This commit is contained in:
parent
edb4856840
commit
adc3eeea51
@ -2472,6 +2472,7 @@ async function triggerGenerationCallback(args, value) {
|
||||
} catch {
|
||||
console.warn('Timeout waiting for generation unlock');
|
||||
toastr.warning('Cannot run /trigger command while the reply is being generated.');
|
||||
outerResolve(Promise.resolve(''));
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user