From e9c5618b10d09c71ab16a06c83bb97c28fab25bc Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 19 May 2024 16:25:22 +0300 Subject: [PATCH] Force generate unlock on wrapped API error --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index 99d4bddc7..8087dcab3 100644 --- a/public/script.js +++ b/public/script.js @@ -4132,6 +4132,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro let messageChunk = ''; if (data.error) { + unblockGeneration(type); generatedPromptCache = ''; if (data?.response) {