Skip to content
SignalFlick
All signals
Local AI·

ggml-org · llama.cpp b12853

llama.cpp fixes structured JSON output with reasoning models

The b12853 preview changes how the local inference server handles its --json-schema option. The schema is passed to the chat parser so it can build a grammar suited to the model and generation prompt.

What changes

Fix #31862 replaces early grammar construction, which did not account for the generation prompt or reasoning rules. It affects integrations using an explicit JSON schema; it is not a general guarantee of response compliance. macOS, Linux and Windows binaries are provided. MIT license at the release tag.