Skip to content

Commit

Permalink
Merge pull request #27 from mistralai/update_to_130
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
patrickvonplaten authored Jul 18, 2024
2 parents b40f748 + e62d700 commit e0b9a93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mistral_common"
version = "v1.2.1"
version = "1.3.0"
description = ""
authors = ["bam4d <[email protected]>"]
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/mistral_common/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.3.0"
3 changes: 1 addition & 2 deletions src/mistral_common/tokens/tokenizers/sentencepiece.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ def encode_user_message(
is_last: bool,
is_first: bool,
system_prompt: Optional[str] = None,
) -> List[int]:
...
) -> List[int]: ...

@abstractmethod
def encode_tool_message(self, message: ToolMessage, is_before_last_user_message: bool) -> List[int]:
Expand Down

0 comments on commit e0b9a93

Please sign in to comment.