]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Fix DeepSeek4 crafted template (#25414)
authorPiotr Wilkin (ilintar) <redacted>
Wed, 22 Jul 2026 10:54:40 +0000 (12:54 +0200)
committerGitHub <redacted>
Wed, 22 Jul 2026 10:54:40 +0000 (12:54 +0200)
commitf534da26e4ab045b6899adc07cd2b9a065355ce9
tree9996b85a0a4c7e6383289619e8632fa8d558af33
parent3ce7da2c852c538c4c5f9806da27029cf8c9cc4a
Fix DeepSeek4 crafted template (#25414)

* chat: fix DS4 template to explicitly follow reference behavior

* Support DeepSeekv4 flag (`drop_reasoning`).

* fix: hook DS3.2 parser for DS4 as well

* fix: add tool result reordering

* fix: post-merge
common/chat.cpp
common/jinja/caps.cpp
models/templates/deepseek-ai-DeepSeek-V4.jinja
tests/test-chat.cpp