diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 419ed81f3..533ca5e36 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -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 ''; }