fix: empty think blocks
#3
by ttttonyhe - opened
Previous chat template unconditionally wraps the last assistant message with <think>\\n\\n</think>\\n\\n (via a loop.last guard). We want to prevent the chat template from inserting empty <think></think> blocks around assistant messages that have no reasoning content.