Fix tool calling: support array-formatted tool content (vLLM/SGLang)
#8
by cudaoom - opened
Mirrors the updated chat_template.jinja from upstream zai-org/GLM-5.1 so tool messages with array content (e.g. [{"type":"text","text":"..."}]) render correctly instead of producing an empty , which caused the model to loop on the same tool call.
lukealonso changed pull request status to merged