Skip to content

Commit d77e5f4

Browse files
committed
Fix formatting
Signed-off-by: Arthur Chan <[email protected]>
1 parent 8bbf586 commit d77e5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llm_toolkit/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ def truncate_prompt(self,
271271
# Add marker and return the truncated string with another recursive check
272272
truncated_prompt = raw_prompt_text[-remaining:] + marker
273273
logger.info('Truncated %d tokens from %d to %d chars.',
274-
len(raw_prompt_text) - remaining,
275-
len(raw_prompt_text), len(truncated_prompt))
274+
len(raw_prompt_text) - remaining, len(raw_prompt_text),
275+
len(truncated_prompt))
276276

277277
return self.truncate_prompt(truncated_prompt, extra_text)
278278

0 commit comments

Comments
 (0)