Skip to content

Commit

Permalink
🔨 v0.3.4.dev59 - fix 422
Browse files Browse the repository at this point in the history
  • Loading branch information
cobycloud committed Jun 27, 2024
1 parent a161126 commit 4dd4ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swarmauri/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.4.dev58"
__version__ = "0.3.4.dev59"
__long_desc__ = """
# swarmaURI sdk
Expand Down
2 changes: 1 addition & 1 deletion swarmauri/standard/llms/concrete/MistralModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4dd4ff0

Please sign in to comment.