The chat template is still broken

#13
by ilintar - opened

See https://www.reddit.com/r/LocalLLaMA/comments/1klltt4/the_qwen3_chat_template_is_still_bugged/

Under OpenAI specs, assistant history messages with tool calls do not contain "content", but the template crashes when such a history is provided. This error has actually made it all the way (and can be reproduced) on the OpenRouter playground with the Qwen3 models.

Unsloth AI org

See https://www.reddit.com/r/LocalLLaMA/comments/1klltt4/the_qwen3_chat_template_is_still_bugged/

Under OpenAI specs, assistant history messages with tool calls do not contain "content", but the template crashes when such a history is provided. This error has actually made it all the way (and can be reproduced) on the OpenRouter playground with the Qwen3 models.

We're converting ATM and will reupload

Unsloth AI org

@ilintar should be fixed now we reuploaded yesterday

Sign up or log in to comment