返回全部动态

llama.cpp b11377:Ling 3.0 解析器支持 json_schema

原标题:b11377

llama.cpp Releases一手来源开源质量 68

AI 摘要

llama.cpp 发布 b11377 版本,主要修复了 Ling 3.0 解析器对 json_schema 的支持问题。此前 Ling 3.0 只为工具调用构建语法,未处理 inputs.json_schema,导致 response_format 请求不受约束。本次新增了优先于工具的响应格式语法路径,并在启用思考时要求 JSON 前有 </think> 且不允许 JSON 后出现多余文本,修复了 #29652。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<details open> chat : honor json_schema in Ling 3.0 parser (#29813) * chat : honor json_schema in Ling 3.0 parser Ling 3.0 only built a grammar for tool calls and did not handle inputs.json_schema, so response_format requests were left unconstrained. Add an eager response-format grammar path with precedence over tools, following the existing parser patterns. Require </think> before JSON when thinking is enabled and do not allow trailing prose after the JSON response. Fixes #29652. Assisted


发布时间:2026-10-03 22:23
抓取时间:2026-10-03 23:09
来源机构:ggml-org
阅读原文github.com