fix: embed chat_template in tokenizer_config.json
#64
by NERDDISCO - opened
The chat_template field is missing from tokenizer_config.json. The template exists as a separate chat_template.jinja file, but AutoTokenizer.from_pretrained() only reads from tokenizer_config.json. This causes apply_chat_template() to fail in transformers.js and other non-Python tooling.
Gemma 2 and Gemma 3 models include this field correctly. This PR embeds the existing chat_template.jinja content into tokenizer_config.json.
Same fix as: