The llama.cpp project released version b10254, introducing a new chat template for the DeepSeek V4 Flash 0731 model alongside updates to existing DeepSeek V4 templates.

  • Aligns DeepSeek V4 templates with official encoders while excluding parser behavior changes.
  • Defaults to dropping thinking history for DeepSeek V4 unless preserve_reasoning is requested or tools are present.
  • Adds structured output response-format instructions and passes schemas into template rendering.
  • Introduces a separate Flash 0731 template to handle updated high and max reasoning effort mappings.
  • Includes fixes for DSML parser tool call separator consumption and deepseek v4 0731 template selection.

This update ensures compatibility with the latest DeepSeek model specifications and improves structured output handling.