mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
debugmode longer prints
This commit is contained in:
parent
4940a15a80
commit
8f622cfb50
1 changed files with 2 additions and 2 deletions
|
@ -801,7 +801,7 @@ def utfprint(str, importance = 2): #0 = only debugmode, 1 = except quiet, 2 = al
|
||||||
return
|
return
|
||||||
maxlen = 32000
|
maxlen = 32000
|
||||||
if args.debugmode >= 1:
|
if args.debugmode >= 1:
|
||||||
maxlen = 64000
|
maxlen = 192000
|
||||||
try:
|
try:
|
||||||
strlength = len(str)
|
strlength = len(str)
|
||||||
if strlength > maxlen: #limit max output len
|
if strlength > maxlen: #limit max output len
|
||||||
|
@ -3897,7 +3897,7 @@ Change Mode<br>
|
||||||
|
|
||||||
trunc_len = 8000
|
trunc_len = 8000
|
||||||
if args.debugmode >= 1:
|
if args.debugmode >= 1:
|
||||||
trunc_len = 16000
|
trunc_len = 32000
|
||||||
|
|
||||||
printablegenparams_raw = truncate_long_json(genparams,trunc_len)
|
printablegenparams_raw = truncate_long_json(genparams,trunc_len)
|
||||||
utfprint("\nInput: " + json.dumps(printablegenparams_raw),1)
|
utfprint("\nInput: " + json.dumps(printablegenparams_raw),1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue