From b7ea267c36c02b451ae328f91d652255a5d2e2d5 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 16 Apr 2023 19:31:59 +0200 Subject: [PATCH] check all stop words --- matrix_pygmalion_bot/ai/koboldcpp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/matrix_pygmalion_bot/ai/koboldcpp.py b/matrix_pygmalion_bot/ai/koboldcpp.py index 0fa98b9..f92afbf 100644 --- a/matrix_pygmalion_bot/ai/koboldcpp.py +++ b/matrix_pygmalion_bot/ai/koboldcpp.py @@ -85,7 +85,6 @@ async def generate_sync( if idx != -1: complete_reply = complete_reply[:idx].strip() complete = True - break if complete: break elif r.status_code == 503: