From 308639d3da42581b5aa3055c9be27842b2a7cdbd Mon Sep 17 00:00:00 2001 From: Cohee Date: Thu, 15 Jun 2023 11:44:54 +0300 Subject: [PATCH] Display multigen compatibility note --- public/script.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/script.js b/public/script.js index be05f97f0..ea61b620a 100644 --- a/public/script.js +++ b/public/script.js @@ -1809,6 +1809,12 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject, toastr.warning('Streaming is enabled, but the version of Kobold used does not support token streaming.', undefined, { timeOut: 10000, preventDuplicates: true, }); } + if (main_api == 'kobold' && kai_settings.streaming_kobold && power_user.multigen) { + toastr.error('Multigen is not supported with Kobold streaming enabled. Disable streaming in "AI Response Configuration" or multigen in "Advanced Formatting" to proceed.', undefined, { timeOut: 10000, preventDuplicates: true, }); + is_send_press = false; + return; + } + if (isHordeGenerationNotAllowed()) { is_send_press = false; return;