kAI streamin mismatch Warning -> Error

This commit is contained in:
50h100a
2023-07-02 17:19:53 -04:00
parent 44bf31e602
commit 4afd616099

View File

@@ -1949,7 +1949,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
} }
if (main_api == 'kobold' && kai_settings.streaming_kobold && !kai_settings.can_use_streaming) { 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.', undefined, { timeOut: 10000, preventDuplicates: true, }); toastr.error('Streaming is enabled, but the version of Kobold used does not support token streaming.', undefined, { timeOut: 10000, preventDuplicates: true, });
is_send_press = false; is_send_press = false;
return; return;
} }