Aldehir Rojas
c818263f2a
chat : implement minicpm5 parser (#24889)
* Add minicpm5 tool call parser
* Refactor MiniCPM5 PEG parser per review feedback
* Fix jinja min/max API to match Jinja2
* modify by review
* MiniCPM5: use autoparser for XML tool calls and fix grammar preserved-token triggers
* MiniCPM5: fix streaming tool-arg placeholder and remove alt XML markers
* skip min/max attribute tests in -py mode
* test-jinja: use real expected output for min/max attribute tests
* MiniCPM5: revert shared mapper and history fallbacks per review
Drop streaming tool-arg placeholder workarounds from the generic PEG
mapper and restore strict tool-call argument JSON parsing so MiniCPM5
support stays limited to autoparser/diff-analyzer changes.
* chat : refactor minicpm5 back to dedicated parser
* cont : simplify grammar
* cont : refactor
* cont : fixes
* cont : rename template to openbmb-MiniCPM5-1B.jinja
* cont : add message delimiters
* cont : fix tests
---------
Co-authored-by: zhangtao <zhangtao2@modelbest.cn>
Co-authored-by: 张涛 <>
2026-06-28 16:53:32 +02:00
..
2026-06-21 16:20:58 -05:00
2026-06-27 10:31:29 +03:00
2026-05-26 19:05:48 +03:00
2026-06-20 19:45:27 +02:00
2026-06-27 17:46:21 +05:30
2026-06-02 10:30:38 +03:00
2026-06-15 08:27:10 +02:00
2026-06-28 15:50:31 +02:00
2026-06-28 16:53:32 +02:00
2026-06-09 12:01:37 +03:00
2026-06-27 10:31:29 +03:00
2026-05-25 11:33:29 +02:00
2026-06-28 16:53:32 +02:00
2026-06-20 17:43:04 -05:00
2026-06-28 16:01:34 +03:00
2026-06-08 14:40:12 +03:00
2026-06-26 10:41:56 +03:00
2026-06-01 11:37:11 +02:00
2026-05-16 20:06:23 +08:00
2026-01-03 16:02:43 -06:00
2026-06-22 14:08:32 +03:00
2026-06-04 08:06:36 +03:00
2026-05-05 09:23:50 +02:00
2026-06-25 09:22:51 +03:00