Change8

b9833

📦 llama-cppView on GitHub →
3 features🐛 3 fixes🔧 3 symbols

Summary

This release introduces dedicated parsing support for MiniCPM5 tool calls and resolves compatibility issues between the internal Jinja implementation and Jinja2 for min/max attributes.

Migration Steps

  1. If using Jinja min/max attributes, note that the API now matches Jinja2.
  2. If relying on previous streaming tool-arg placeholder behavior, be aware that strict JSON parsing is restored.

✨ New Features

  • Implemented MiniCPM5 tool call parser.
  • Added support for MiniCPM5 using autoparser for XML tool calls and fixed grammar preserved-token triggers.
  • Refactored MiniCPM5 support to use a dedicated parser.

🐛 Bug Fixes

  • Fixed Jinja min/max API to match Jinja2.
  • Fixed streaming tool-arg placeholder and removed alt XML markers for MiniCPM5.
  • Restored strict tool-call argument JSON parsing by dropping streaming tool-arg placeholder workarounds from the generic PEG mapper.

Affected Symbols