From 53b3bf46e4dffa6827a1c56009871b85b9b4532f Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 5 Apr 2026 18:46:30 +0800 Subject: [PATCH] fixed a typo --- koboldcpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index e2c6e07c7..06cd13f7e 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3051,7 +3051,7 @@ def repack_toolcall_tags(text: str): text = re.sub(r'.*?', '', text, flags=re.DOTALL) text = re.sub(r'.*?', '', text, flags=re.DOTALL) text = re.sub(r'.*?', '', text, flags=re.DOTALL) - text = re.sub(r'<\|channel>thought.*?', '', text, flags=re.DOTALL) + text = re.sub(r'<\|channel>thought.*?', '', text, flags=re.DOTALL) text = text.strip() tcpairs = [ ("", ""),