[Tool parsing] Improve / correct mistral tool parsing (#10333)

This commit is contained in:
Patrick von Platen
2024-11-15 00:42:49 +00:00
committed by GitHub
parent 554af9228d
commit 11cd1ae6ad
5 changed files with 172 additions and 59 deletions
@@ -1,3 +1,3 @@
from .mistral import MistralTokenizer
from .mistral import MistralTokenizer, maybe_serialize_tool_calls
__all__ = ["MistralTokenizer"]
__all__ = ["MistralTokenizer", "maybe_serialize_tool_calls"]