From af889ecdfc0a166f907ea8e14749aac74268d2ee Mon Sep 17 00:00:00 2001 From: Cohee Date: Mon, 12 Jun 2023 23:47:47 +0300 Subject: [PATCH] Prevent duplicate KAI warnings --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index cbbb1b71c..2ea619b14 100644 --- a/public/script.js +++ b/public/script.js @@ -1859,7 +1859,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject, } if (main_api == 'kobold' && kai_settings.streaming_kobold && !kai_settings.can_use_streaming) { - toastr.warning('Streaming is enabled, but the version of kobold used does not support token streaming.'); + toastr.warning('Streaming is enabled, but the version of Kobold used does not support token streaming.', undefined, { timeOut: 10000, preventDuplicates: true, }); } if (isHordeGenerationNotAllowed()) {