mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix budget calculation for stories with at least one non-prompt chunk
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user