Skip to content

Commit 2d33566

Browse files
author
莘权 马
committed
1 parent 2ddde3b commit 2d33566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metagpt/utils/token_counter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def count_output_tokens(string: str, model: str) -> int:
483483
try:
484484
encoding = tiktoken.encoding_for_model(model)
485485
except KeyError:
486-
logger.info(f"Warning: model {model} not found in tiktoken. Using cl100k_base encoding.")
486+
logger.debug(f"Warning: model {model} not found in tiktoken. Using cl100k_base encoding.")
487487
encoding = tiktoken.get_encoding("cl100k_base")
488488
return len(encoding.encode(string))
489489

0 commit comments

Comments
 (0)