From 0978806a3cabd597300b8e8bfb533849a931cd37 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:02:35 +0800 Subject: [PATCH] fix inverted probability --- klite.embd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klite.embd b/klite.embd index 274ee40e3..146678ca9 100644 --- a/klite.embd +++ b/klite.embd @@ -7,7 +7,7 @@ Just copy this single static HTML file anywhere and open it in a browser, or fro Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite. If you are submitting a pull request for Lite, PLEASE use the above repo, not the KoboldCpp one. Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line. -Current version: 143 +Current version: 144 -Concedo --> @@ -10690,7 +10690,7 @@ Current version: 143 if(wi.probability && wi.probability<100) { let roll = Math.floor(Math.random() * 100) + 1; - if(roll>=wi.probability) + if(roll