Skip to content

Commit d9026e1

Browse files
author
moo
committed
get_tokenizer return None
1 parent d6cb045 commit d9026e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rigging/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ async def to_tokens(
428428
apply_chat_template_kwargs: dict[str, t.Any] | None = None,
429429
encode_kwargs: dict[str, t.Any] | None = None,
430430
decode_kwargs: dict[str, t.Any] | None = None,
431-
) -> list[TokenizedChat]:
431+
) -> TokenizedChat:
432432
"""
433433
Converts the chat messages to a list of tokenized messages.
434434

0 commit comments

Comments
 (0)