Skip to content

Commit

Permalink
fix: unfinished docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikita95 authored Nov 18, 2024
1 parent 2f96977 commit bb3683a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/writer/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,8 @@ def _is_serialized(self, message: 'Conversation.Message') -> bool:
"""
Function to verify whether the message should be serializable.
:return: Boolean that indicates
:return: Boolean indicating if the message meets
the criteria for serialization.
"""
if message["role"] in ["system", "tool"]:
# Prevent serialization of messages
Expand Down

0 comments on commit bb3683a

Please sign in to comment.