diff --git a/src/mistral_common/tokens/tokenizers/sentencepiece.py b/src/mistral_common/tokens/tokenizers/sentencepiece.py index 3fff97d..3dc2f9d 100644 --- a/src/mistral_common/tokens/tokenizers/sentencepiece.py +++ b/src/mistral_common/tokens/tokenizers/sentencepiece.py @@ -236,7 +236,7 @@ def encode_user_message( system_prompt: Optional[str] = None, ) -> List[int]: assert message.content is not None - assert isinstance(message.content, str), "Message content must be nornmalized" + assert isinstance(message.content, str), "Message content must be normalized" content = "" tools_tokens: List[int] = [] if is_last and available_tools: