mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge branch 'united' into scan-test
This commit is contained in:
@ -1306,7 +1306,7 @@ def calcsubmitbudget(actionlen, winfo, mem, anotetxt, actions=vars.actions):
|
||||
tokens = memtokens + witokens + prompttkns + tokens
|
||||
|
||||
# Send completed bundle to generator
|
||||
ln = len(tokens)
|
||||
ln = len(tokens) + lnsp
|
||||
return tokenizer.decode(tokens), ln+1, ln+vars.genamt
|
||||
|
||||
#==================================================================#
|
||||
|
Reference in New Issue
Block a user