]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common/chat : fix LFM2/LFM2.5 reasoning round-trip and <think> leak (#24234)
authorTarek Dakhran <redacted>
Sat, 6 Jun 2026 20:39:21 +0000 (22:39 +0200)
committerGitHub <redacted>
Sat, 6 Jun 2026 20:39:21 +0000 (22:39 +0200)
commit98d5e8ba8a2642710c9871d05ac1033a3328b884
tree870a5fba3fff4d43c0feb5ad74956fbbd1648f04
parent31e82494c0a3913c919c1027fa70500fbf4c07dd
common/chat : fix LFM2/LFM2.5 reasoning round-trip and <think> leak (#24234)

* common/chat : fix LFM2 reasoning round-trip and stray <think> leak
* Gate by reasoning format and whether the template supports <think>
common/chat.cpp
models/templates/LFM2.5-8B-A1B.jinja [new file with mode: 0644]
tests/test-chat.cpp