Qwen3.6 merged chat template from allanchan339 and froggeric

Posted by fakezeta@reddit | LocalLLaMA | View on Reddit | 34 comments

Hi,

recently froggeric and allanchan339 released enhanced/fixed template for Qwen3.6 each one addressing different topics.
I didn't know which one to use so I merged both with the help of Claude Opus to have the best of both.

I've uploaded it to this gist
https://gist.github.com/fakezeta/9e8e039c60332fcb143c6e805558afe0

Here a summary table done with Opus

Feature allanchan339 froggeric Merged
Long strict tool rules + follow-up example
developer role accepted
<|think_off|> / <|think_on|> toggles
Historical reasoning hidden by default
String tool args parsed as JSON into <parameter> blocks
Non-ASCII in JSON escaped (uXXXX)
</thinking> recognized (not just </think>)
Auto-close unclosed <think> before <tool_call>
Vision + tool_response structure same same same

I've tested with llama-server and Qwen3.6 35B A3B

Hope you like it.
If there is anything good the praise it for froggeric and allanchan339.

Any blame instead is for me but please be kind 😄