b9660

ggml-org/llama.cppb9660Jun 15, 2026by github-actions[bot]same day as b9659

What changed since b9659

low risk

b9660 adds a chat-parser fix for LFM2 tool calls, correcting double-escaped arguments on top of b9659's multimodal token-count fix.

Improvements

  • Tool-call argument handling for LFM2 models is now consistent, with new escape test cases added to guard the parser.
  • Release binaries remain available across the same platform matrix (macOS, iOS, Linux CPU/Vulkan/ROCm/OpenVINO/SYCL), with KleidiAI still disabled on Apple Silicon.

Bug fixes

  • Fixed double-escaping in LFM2 tool-call parsing so arguments are no longer mangled when passed to tools.
  • Retains the earlier fix for miscounted n_tokens in multimodal (mtmd) models from b9659.

Upgrade notes

This is a one-commit follow-up to b9659, so upgrading is a drop-in binary swap with no config or migration steps. Only users running LFM2 models with tool/function calling are meaningfully affected. If you already moved to b9659, take b9660 to get the parser fix.

Analyzed Nov 1, 2026

Upgrading?

Release notes summary

Corrects a double-escaping issue in the parsing of LFM2 tool calls, ensuring that arguments are handled correctly. Standard release binaries are provided.

Key Highlights

  • Fix double-escaping in LFM2 tool-call parsing
  • Standard release builds for all platforms
  • Disabled KleidiAI build for macOS Apple Silicon

New Features

  • Fix double-escaping in LFM2 tool-call parsing

Release Notes (excerpt)

<details open> chat : fix LFM2 tool-call parsing double-escaping (#24667) * Add escape test cases * chat : fix LFM2 tool-call parsing double-escaping </details> **macOS/iOS:** - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED - macOS Intel (x64) - iOS XCFramework **Linux:** - Ubuntu x64 (CPU) - Ubuntu arm64 (CPU) - Ubuntu s390x (CPU) - Ubuntu x64 (Vulkan) - Ubuntu arm64 (Vulkan) - Ubuntu x64 (ROCm 7.2) - Ubuntu x64 (OpenVINO) - Ubuntu x64 (SYCL FP32)…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories