Sync GLM-5.3 tool-result chat template

#2
by festr2 - opened

Synchronize chat_template.jinja with zai-org/GLM-5.3-Flash revision 690b705278a3a58e538fcb37c2ca8b5f9511213c. The template preserves assistant tool-call order when serializing tool results, stops invalid reorder scans as soon as their invariant fails, uses Jinja string concatenation consistently, and handles absent message content explicitly. Model weights, tokenizer files, and serving configuration are unchanged.

local-inference-lab org

Validated with the upstream GLM-5.3 tokenizer and an out-of-order multi-tool-result fixture. The merged chat_template.jinja has SHA-256 0c4099f3382d6c92700dfb99725025360966fd73032f0ecf32377c0d9e6309c5.

voipmonitor changed pull request status to merged

Sign up or log in to comment