From 48bc9c7317fd02dc2661a5009ae41a0ec42f5236 Mon Sep 17 00:00:00 2001 From: ebolam Date: Thu, 22 Sep 2022 11:57:03 -0400 Subject: [PATCH] Fix --- koboldai_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldai_settings.py b/koboldai_settings.py index bddcccc5..22feb85b 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -312,7 +312,7 @@ class koboldai_vars(object): if self.useprompt: text += prompt_text context.append({"type": "prompt", "text": prompt_text}) - else self.useprompt: + else: prompt_length = 0 prompt_text = "" for item in action_text_split: