mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for token generation length error
This commit is contained in:
@@ -159,7 +159,7 @@ class koboldai_vars(object):
|
||||
else:
|
||||
method = 1
|
||||
context = []
|
||||
token_budget = self.max_length
|
||||
token_budget = self.max_length - self.genamt
|
||||
used_world_info = []
|
||||
if self.tokenizer is None:
|
||||
used_tokens = 99999999999999999999999
|
||||
|
Reference in New Issue
Block a user