Skip to content

Commit 46287bf

Browse files
Fix typo in error message (#93)
1 parent e1c661e commit 46287bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiktoken/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def encoding_for_model(model_name: str) -> Encoding:
6969
if encoding_name is None:
7070
raise KeyError(
7171
f"Could not automatically map {model_name} to a tokeniser. "
72-
"Please use `tiktok.get_encoding` to explicitly get the tokeniser you expect."
72+
"Please use `tiktoken.get_encoding` to explicitly get the tokeniser you expect."
7373
) from None
7474

7575
return get_encoding(encoding_name)

0 commit comments

Comments
 (0)