mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-17 12:10:49 +01:00
Fix budget calculation for stories with at least one non-prompt chunk
This commit is contained in:
parent
fe2987d894
commit
0fa47b1249
@ -1255,7 +1255,7 @@ def calcsubmit(txt):
|
||||
tokens = memtokens + witokens + prompttkns + tokens
|
||||
|
||||
# Send completed bundle to generator
|
||||
ln = len(tokens)
|
||||
ln = len(tokens) + lnsp
|
||||
|
||||
if(not vars.model in ["Colab", "OAI"]):
|
||||
generate (
|
||||
|
Loading…
x
Reference in New Issue
Block a user