Skip to content

Commit 8f622cf

Browse files
committed
debugmode longer prints
1 parent 4940a15 commit 8f622cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

koboldcpp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def utfprint(str, importance = 2): #0 = only debugmode, 1 = except quiet, 2 = al
801801
return
802802
maxlen = 32000
803803
if args.debugmode >= 1:
804-
maxlen = 64000
804+
maxlen = 192000
805805
try:
806806
strlength = len(str)
807807
if strlength > maxlen: #limit max output len
@@ -3897,7 +3897,7 @@ def do_POST(self):
38973897

38983898
trunc_len = 8000
38993899
if args.debugmode >= 1:
3900-
trunc_len = 16000
3900+
trunc_len = 32000
39013901

39023902
printablegenparams_raw = truncate_long_json(genparams,trunc_len)
39033903
utfprint("\nInput: " + json.dumps(printablegenparams_raw),1)

0 commit comments

Comments
 (0)