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-28 16:53:32 +02:00
2023-08-21 23:07:43 +03:00
2023-10-03 09:16:26 +02:00
2023-10-24 09:17:17 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-05-05 08:19:30 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2026-04-09 11:41:14 +02:00
2026-04-09 11:41:14 +02:00
2026-04-09 11:41:14 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2023-10-24 09:17:17 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2025-05-25 16:22:29 +02:00
2024-06-04 09:17:17 +02:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-05-08 15:06:43 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2026-05-14 11:03:40 +02:00
2026-05-14 11:03:40 +02:00
2026-05-14 11:03:40 +02:00
2024-05-04 08:32:32 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00
2024-04-29 16:58:41 +03:00
2025-05-30 12:24:37 +02:00
2025-05-30 12:24:37 +02:00