Blog

Technical articles, tutorials, and reflections on software engineering and technical leadership.

Qwen-3.6: Fixing tool use for OpenCode on llama.cpp

Sep 12, 2026 engineering issue-log llm tool-use llama.cpp opencode qwen qwen-3.6

tool-use problem

Problem

Qwen-3.6 on llama.cpp displays raw tool-call XML instead of parsing it cleanly in OpenCode, showing <tool_call> or <function> tags inside or right after its reasoning (<think>) blocks, and the chat template fails intercept and parse them. Using the “Expand thinking” functionality in OpenCode was critical for discovering the XML blocks that were emitted but not executed as tool-calls.

Solution

Replaced unsloth/Qwen3.6 with peculiar-ragdoll/Nail-Qwen3.6 that resolves the tool use issue in OpenCode.

read more →

First Post!

Sep 11, 2025 milestone meta-blog

I’ll be using this blog to track issues, experiments, and interesting subjects I’m learning along the way.

read more →