I got a crash on the current default template. After some consulting with LLMs we concluded that the problem is by missing "tojson" in llama.cpp code. But obviously that is not the case and our template is invalid - see the discussion here:
ggml-org/llama.cpp#19495
TLDR - from comments: "I removed the tojson filter, undefined does not support it in jinja2."
I got a crash on the current default template. After some consulting with LLMs we concluded that the problem is by missing "tojson" in llama.cpp code. But obviously that is not the case and our template is invalid - see the discussion here:
ggml-org/llama.cpp#19495
TLDR - from comments: "I removed the tojson filter, undefined does not support it in jinja2."