Skip to content

Commit c79aca1

Browse files
committed
fix return type
1 parent 2a1efd1 commit c79aca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/together/utils/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def _check_message_weight(message: Dict[str, str | bool], idx: int) -> None:
202202

203203
def _check_message_role(
204204
message: Dict[str, str | bool], previous_role: str | None, idx: int
205-
) -> str:
205+
) -> str | bool:
206206
"""Check that the message has correct roles.
207207
208208
Args:

0 commit comments

Comments
 (0)