Yash Raj Pandey
9bf55f4a36
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-by: Claude Opus 5.5
* chat : require Ling 3.0 think block for response formats
2026-10-03 15:40:50 +02:00
..
2026-10-01 10:10:57 +02:00
2026-10-03 15:40:50 +02:00
2026-10-02 17:52:54 +03:00
2026-09-19 15:37:13 +03:00
2023-11-07 00:36:23 +03:00
2026-09-04 09:13:20 +03:00
2026-09-04 09:13:20 +03:00
2026-09-12 16:14:50 -05:00
2026-08-22 16:28:28 +02:00
2026-04-03 09:07:59 +03:00
2026-08-22 16:28:28 +02:00
2026-08-22 16:28:28 +02:00
2026-09-20 06:51:40 -05:00
2026-08-22 16:28:28 +02:00
2026-10-01 08:33:55 +03:00
2026-09-12 16:14:50 -05:00
2026-09-14 16:07:28 +02:00
2026-10-03 02:50:48 +02:00
2026-10-03 02:50:48 +02:00
2026-09-30 16:24:46 +02:00
2026-03-05 10:47:28 +01:00
2026-04-27 08:06:39 +03:00
2026-04-27 08:06:39 +03:00
2026-09-29 13:46:53 +02:00
2026-08-19 11:04:26 +02:00
2026-09-26 07:59:15 -07:00
2026-08-22 16:16:06 +02:00
2026-09-29 13:46:53 +02:00
2026-09-19 15:37:13 +03:00
2026-07-08 14:52:43 +02:00
2026-08-15 11:45:30 +02:00
2026-06-04 17:45:40 +02:00
2026-09-19 14:11:13 +02:00
2026-09-12 16:14:50 -05:00
2026-09-12 16:14:50 -05:00
2026-09-12 16:14:50 -05:00
2026-08-23 01:11:10 +02:00
2026-09-21 10:32:07 +02:00
2026-08-10 16:58:56 +03:00
2026-09-13 01:36:34 +02:00
2026-09-13 01:36:34 +02:00
2026-01-28 19:42:42 +02:00
2026-01-28 19:42:42 +02:00
2026-07-07 10:25:04 +03:00
2026-03-31 13:50:51 +02:00
2026-05-29 09:21:37 +03:00
2026-01-30 21:27:27 +02:00
2026-09-20 06:51:40 -05:00
2026-09-20 06:51:40 -05:00
2026-09-29 17:22:49 +02:00
2026-09-29 17:22:49 +02:00
2026-08-10 16:58:56 +03:00
2026-07-25 11:58:09 +02:00
2026-10-02 17:52:54 +03:00
2026-10-02 17:52:54 +03:00
2026-10-02 17:52:54 +03:00
2026-10-02 17:52:54 +03:00
2026-07-26 20:54:25 +02:00
2026-07-26 20:54:25 +02:00
2026-07-25 11:58:09 +02:00
2026-07-25 11:58:09 +02:00
2026-09-20 06:51:40 -05:00
2026-09-20 06:51:40 -05:00