The llama.cpp project released build b10872, which includes a fix for Jinja template handling. The update addresses an issue where templates defaulting an optional variable to none and testing its membership in a map previously hit an error.

  • Treats a null left operand of 'in' as a plain lookup, matching standard Jinja behavior.
  • Resolves errors in templates that test membership of undefined variables against maps.
  • Provides binaries for macOS (Apple Silicon and Intel), iOS, Linux (CPU, Vulkan, ROCm, OpenVINO, SYCL), Android, Windows (CPU, CUDA 12/13, Vulkan, OpenCL, ROCm), and openEuler.

This change ensures template compatibility with standard Jinja semantics for undefined variables.