diff --git a/swarmauri/__init__.py b/swarmauri/__init__.py index 13cc2c692..87c752cef 100644 --- a/swarmauri/__init__.py +++ b/swarmauri/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.4.dev58" +__version__ = "0.3.4.dev59" __long_desc__ = """ # swarmaURI sdk diff --git a/swarmauri/standard/llms/concrete/MistralModel.py b/swarmauri/standard/llms/concrete/MistralModel.py index 235202366..c67f99dca 100644 --- a/swarmauri/standard/llms/concrete/MistralModel.py +++ b/swarmauri/standard/llms/concrete/MistralModel.py @@ -18,7 +18,7 @@ class MistralModel(LLMBase): type: Literal['MistralModel'] = 'MistralModel' def _format_messages(self, messages: List[IMessage]) -> List[Dict[str, str]]: - message_properties = ['content', 'role', 'name'] + message_properties = ['content', 'role'] list_of_msg_dicts = [message.dict(include=message_properties, exclude_none=True) for message in messages] sanitized_messages = [ {key: value for key, value in m.items() if value is not None}