mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-25 22:21:14 +02:00
quick fix for trim stop
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ def string_has_overlap(str_a, str_b, maxcheck):
|
||||
return False
|
||||
|
||||
def string_contains_or_overlaps_sequence_substring(inputstr, sequences):
|
||||
if inputstr.strip()=="":
|
||||
if inputstr=="":
|
||||
return False
|
||||
for s in sequences:
|
||||
if s.strip()=="":
|
||||
|
||||
Reference in New Issue
Block a user