You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Eval bug: K2-Horizon-MoVA-36B tool-calls during reasoning are not processed #32972
.\llama-server.exe --version
llama release b12557 and the bug is still present on current master (5fddd0b)
version: 1.0.0-dev (build 1, commit b94959a)
built with MSVC 19.51.36263.0 for Windows AMD64
Tool calls emitted during reasoning (inside think blocks) are not processed by the parser. The model opens <ifm|think_fast> and goes straight into <ifm|tool_calls> without the needed </ifm|think_fast>.
Since a tool call was expected, the response has empty content, there are no tool_calls
Reproduce with llama-server, /v1/chat/completions with tools and tool_choice: auto, reasoning_effort medium, temp 1.0, top-p 0.95, 64K context.
This issue occurs repeatedly in my A/B testing during 4 of 11 runs. It also happened on K2-Horizon-7B Q4_K_M at high effort, 2 of 11 runs.
I have added logging to my private code, which shows the model opens <ifm|think_fast> and goes straight to <ifm|tool_calls> without ever closing the reasoning
I have developed a fix for this, with a regression test that fails on master and passes with my fix. It uses the same pattern as other fixes #32232 (Gemma4) and #32271 (Ministral-3). I will open a PR in the next day or two.
Activity
jaredmeaux commentedon Nov 24, 2026
I have developed a fix for this, with a regression test that fails on master and passes with my fix. It uses the same pattern as other fixes #32232 (Gemma4) and #32271 (Ministral-3). I will open a PR in the next day or two.
chat : Allow K2 Horizon tool call during thought (ggml-org#32993)
chat : Allow K2 Horizon tool call during thought (ggml-org#32993)