Skip to content

Commit 2a1efd1

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 | bool:
205+
) -> str:
206206
"""Check that the message has correct roles.
207207
208208
Args:

0 commit comments

Comments
 (0)