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
Using Eullm with Jetbrains IntelliJ and a plugin called DevoxxGenie does not work. When the llm wants to call a tool, that is not understood by DevoxxGenie.
Also, it seems that antml:thinking is not understood/forwarded correctly.
Using llama.cpp DevoxxGenie is able to call tools and also show the thinking in a separate box:
You found a gap, not a bug, and the honest version is short: the OpenAI endpoint ignores tools entirely. The request parses, the field is dropped, the model never learns the tools exist. Whatever tool-call markup it produces anyway goes out as plain content, which is exactly the wall of text in your first screenshot. Reasoning has the same shape: llama-server splits it into reasoning_content, which is what DevoxxGenie renders as a separate box; we stream it inline.
The reason llama.cpp gets this right is common_chat — the machinery that renders tools into the model's own template and parses the reply back into structured tool_calls, per template family. Since 0.6.70 we already use that same machinery for chat template rendering, so the fix is wiring through the two halves we don't call yet: pass tools/tool_choice into the render, run the output through common_chat_parse, and emit tool_calls and reasoning_content where the spec puts them. Same parser llama-server uses, so a model that tool-calls correctly there should behave the same here.
Scheduled for the next release window (0.6.80). No workaround in the meantime worth pretending about: DevoxxGenie needs structured tool_calls, and today we don't produce them. I'll post here when there is a build worth testing — your IntelliJ setup is the reference client for this one, if you're willing to run it again.
What you found was a gap, not a bug: the OpenAI endpoint dropped tools on the floor, the model never learned they existed, and whatever call markup it produced anyway went out as plain content the wall of text in your screenshot. Reasoning had the same shape: llama-server splits it into reasoning_content, we streamed it inline.
Both halves now go through the same machinery llama-server uses. The request's own OpenAI JSON tool definitions, tool role messages, assistant tool_calls in the history is rendered through the model's chat template, and the raw output is parsed back with llama.cpp's format-aware parser into structured tool_calls, content and reasoning_content, with finish_reason: "tool_calls" when the model called something. A model that tool-calls correctly against llama-server should behave the same here.
Verified with curl against Qwen3.6-27B: asked "Che tempo fa a Milano?" with a get_weather tool, got finish_reason: "tool_calls", content: null, arguments: {"city":"Milano"}, and the whole thinking process in reasoning_content where your separate box expects it.
Two limits worth naming before you test. Tool requests are parsed whole, so a streaming request gets its answer as one delta rather than token-by-token valid OpenAI streaming, just coarse; incremental tool-call streaming is separate work. And it needs a model whose GGUF embeds a chat template (Qwen3 family and most modern releases do); without one, tools are ignored with a logged warning, since there is no reliable way to teach an unknown template to call tools.
Your IntelliJ + DevoxxGenie setup is the reference client for this one it exercises the full loop, tool result back into the history included, which curl alone does not. If you can run it against rc2 and post what happens either way, that closes this out.
What happened: the first round parsed fine, DevoxxGenie ran the tool and sent the result back. On the second round the model wrapped its call in text the strict grammar did not expect, and the strict parse of a complete reply throws on any unparsed remainder, even when the tool_call block inside it was recognized correctly. Our fallback then dumped the raw markup into content, which is the text you saw in the output.
Fixed in v0.6.80-rc6: when the strict parse rejects a complete reply, the parser retries in salvage mode, which keeps whatever the grammar did recognize instead of throwing everything away. Your second-round output has a well-formed <tool_call> block in it, so the salvage should extract it. Only a reply where nothing parses at all still falls back to plain text.
If you can run the same session against rc6, I expect the loop to hold across rounds. If you still see markup in the output, the same WARN line from the server log is again the most useful thing you can post.
The grammar rejects your output in both parse modes, so the rc6 salvage had nothing to work with. As far as I can tell the model is following its template correctly and the parser is wrong, so rc8 stops relying on it: when the parse fails, a plain scanner picks up well-formed <tool_call> blocks and returns them structured. Your exact output from the log is now a test case.
rc8 also fixes a sizing bug on your model: the GGUF has no full_attention_interval key, so --fit was overestimating the KV cache. It now uses the same default llama.cpp applies.
If you can rerun the session on rc8, that should tell us if this closes.
I can not shift between models hf.co/unsloth/Ornith-1.0-35B-GGUF:UD-Q5_K_XL and hf.co/unsloth/Ornith-1.0-35B-GGUF:UD-Q4_K_M - it sees them as the same?
If I try to start hf.co/unsloth/Ornith-1.0-35B-GGUF:UD-Q4_K_M and later starts it with hf.co/unsloth/Ornith-1.0-35B-GGUF it starts to download hf.co/unsloth/Ornith-1.0-35B-GGUF:UD-Q4_K_M
Good. The warnings are expected: the grammar still rejects those outputs, the extractor recovers the call, and the WARN line is the trace of that. It stays visible until the upstream parser learns this format; I prefer logging it to hiding it.
The speed difference is real. Your GGUF has no full_attention_interval key, and before rc8 the sizer overestimated the KV cache four times over on this architecture, keeping layers off the GPU that had room.
The two model switching problems are real bugs, and new to us: the :QUANT suffix gets flattened when the name is normalized, so both quants collapse into one identity, and the bare repo name resolves back to a quant you already have. Tracked. If you can open a dedicated issue for them, even better, it keeps this one about tool calling, which your log says is done.
Activity
docs: log H4-A -- tool calling gap on the OpenAI endpoint (issue #334)
primoco commentedon Aug 9, 2026
You found a gap, not a bug, and the honest version is short: the OpenAI endpoint ignores tools entirely. The request parses, the field is dropped, the model never learns the tools exist. Whatever tool-call markup it produces anyway goes out as plain content, which is exactly the wall of text in your first screenshot. Reasoning has the same shape: llama-server splits it into reasoning_content, which is what DevoxxGenie renders as a separate box; we stream it inline.
The reason llama.cpp gets this right is common_chat — the machinery that renders tools into the model's own template and parses the reply back into structured tool_calls, per template family. Since 0.6.70 we already use that same machinery for chat template rendering, so the fix is wiring through the two halves we don't call yet: pass tools/tool_choice into the render, run the output through common_chat_parse, and emit tool_calls and reasoning_content where the spec puts them. Same parser llama-server uses, so a model that tool-calls correctly there should behave the same here.
Scheduled for the next release window (0.6.80). No workaround in the meantime worth pretending about: DevoxxGenie needs structured tool_calls, and today we don't produce them. I'll post here when there is a build worth testing — your IntelliJ setup is the reference client for this one, if you're willing to run it again.
feat: tool calling on the OpenAI endpoint
primoco commentedon Aug 9, 2026
Tool calling is in, as of v0.6.80-rc2.
What you found was a gap, not a bug: the OpenAI endpoint dropped tools on the floor, the model never learned they existed, and whatever call markup it produced anyway went out as plain content the wall of text in your screenshot. Reasoning had the same shape: llama-server splits it into reasoning_content, we streamed it inline.
Both halves now go through the same machinery llama-server uses. The request's own OpenAI JSON tool definitions, tool role messages, assistant tool_calls in the history is rendered through the model's chat template, and the raw output is parsed back with llama.cpp's format-aware parser into structured tool_calls, content and reasoning_content, with finish_reason: "tool_calls" when the model called something. A model that tool-calls correctly against llama-server should behave the same here.
Verified with curl against Qwen3.6-27B: asked "Che tempo fa a Milano?" with a get_weather tool, got finish_reason: "tool_calls", content: null, arguments: {"city":"Milano"}, and the whole thinking process in reasoning_content where your separate box expects it.
Two limits worth naming before you test. Tool requests are parsed whole, so a streaming request gets its answer as one delta rather than token-by-token valid OpenAI streaming, just coarse; incremental tool-call streaming is separate work. And it needs a model whose GGUF embeds a chat template (Qwen3 family and most modern releases do); without one, tools are ignored with a logged warning, since there is no reliable way to teach an unknown template to call tools.
Your IntelliJ + DevoxxGenie setup is the reference client for this one it exercises the full loop, tool result back into the history included, which curl alone does not. If you can run it against rc2 and post what happens either way, that closes this out.
odlg commentedon Aug 9, 2026
Thanks for fast response.

It is a lot better. It now calls tools, and it mostly works. Though this appears in the output with the result:
The last output from eullm is this:
fix: salvage tool calls when the strict output parse rejects a comple…
primoco commentedon Aug 9, 2026
That log line was exactly what I needed, thanks.
What happened: the first round parsed fine, DevoxxGenie ran the tool and sent the result back. On the second round the model wrapped its call in text the strict grammar did not expect, and the strict parse of a complete reply throws on any unparsed remainder, even when the tool_call block inside it was recognized correctly. Our fallback then dumped the raw markup into content, which is the text you saw in the output.
Fixed in v0.6.80-rc6: when the strict parse rejects a complete reply, the parser retries in salvage mode, which keeps whatever the grammar did recognize instead of throwing everything away. Your second-round output has a well-formed <tool_call> block in it, so the salvage should extract it. Only a reply where nothing parses at all still falls back to plain text.
If you can run the same session against rc6, I expect the loop to hold across rounds. If you still see markup in the output, the same WARN line from the server log is again the most useful thing you can post.
odlg commentedon Aug 9, 2026
It stops at the same point. In DevoxxGenie it looks exactly the same. The output from eullm is:
fix: extract readable native tool calls when both PEG parse modes rej…
primoco commentedon Aug 9, 2026
The grammar rejects your output in both parse modes, so the rc6 salvage had nothing to work with. As far as I can tell the model is following its template correctly and the parser is wrong, so rc8 stops relying on it: when the parse fails, a plain scanner picks up well-formed <tool_call> blocks and returns them structured. Your exact output from the log is now a test case.
rc8 also fixes a sizing bug on your model: the GGUF has no full_attention_interval key, so --fit was overestimating the KV cache. It now uses the same default llama.cpp applies.
If you can rerun the session on rc8, that should tell us if this closes.
odlg commentedon Aug 9, 2026
It completes the job now. It still logs some warnings.
It feels faster now also.
Btw.
docs: log H4-F -- HF quant tags collapse into one model identity
primoco commentedon Aug 9, 2026
Good. The warnings are expected: the grammar still rejects those outputs, the extractor recovers the call, and the WARN line is the trace of that. It stays visible until the upstream parser learns this format; I prefer logging it to hiding it.
The speed difference is real. Your GGUF has no full_attention_interval key, and before rc8 the sizer overestimated the KV cache four times over on this architecture, keeping layers off the GPU that had room.
The two model switching problems are real bugs, and new to us: the :QUANT suffix gets flattened when the name is normalized, so both quants collapse into one identity, and the bare repo name resolves back to a quant you already have. Tracked. If you can open a dedicated issue for them, even better, it keeps this one about tool calling, which your log says is done.
odlg commentedon Aug 10, 2026
I created #345