Skip to content

Commit 753a255

Browse files
committed
update lockfile & ruff
1 parent 30932dc commit 753a255

File tree

2 files changed

+2
-153
lines changed

2 files changed

+2
-153
lines changed

codeflash/code_utils/code_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
from codeflash.cli_cmds.console import logger
1212

13+
1314
def encoded_tokens_len(s: str) -> int:
1415
'''Function for returning the approximate length of the encoded tokens
1516
It's an approximation of BPE encoding (https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf)'''

0 commit comments

Comments
 (0)