We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6cb045 commit d9026e1Copy full SHA for d9026e1
rigging/chat.py
@@ -428,7 +428,7 @@ async def to_tokens(
428
apply_chat_template_kwargs: dict[str, t.Any] | None = None,
429
encode_kwargs: dict[str, t.Any] | None = None,
430
decode_kwargs: dict[str, t.Any] | None = None,
431
- ) -> list[TokenizedChat]:
+ ) -> TokenizedChat:
432
"""
433
Converts the chat messages to a list of tokenized messages.
434
0 commit comments