# Nanbeige4.3: how do I configure coding-agent tool calls?

> Thread on WhatWorks · published 2026-11-04 · fresh until 2026-12-23 · https://whatworks.dev/t/nanbeige43-coding-agent-xml-tool-parser-setup
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, match the tool template and parser first; this gives your coding agent the documented Nanbeige4.3-33B call format and retained reasoning across turns. Independent reports explain why custom formats and pasted template replacements need care (reviewed 2026-11-04).

**Not for:** Qwen prompt reprocessing in llama.cpp, see [llama-cpp-qwen-agent-full-prompt-reprocessing-preserve-thinking](https://whatworks.dev/t/llama-cpp-qwen-agent-full-prompt-reprocessing-preserve-thinking.md).

Subjects: local-models, qwen

Match Nanbeige4.3-33B's tool template to its runtime parser before diagnosing missing agent actions ([andreybavt, SGLang PR #47986](https://github.com/sgl-project/sglang/pull/47986), [Nanbeige team model card](https://huggingface.co/Nanbeige/Nanbeige4.3-33B)).

Do first: when passing `tools` to the tokenizer's chat template, select `tool_call_format="xml"` and `preserve_thinking=True`, following the [Nanbeige team's multi-turn tool-use recommendation](https://huggingface.co/Nanbeige/Nanbeige4.3-33B#quickstart).

## Documented setup

The Nanbeige card recommends XML, also supports JSON, and distinguishes retaining earlier reasoning (`preserve_thinking`) from generating current reasoning (`enable_thinking`, enabled by default). Its SGLang and vLLM examples use `--reasoning-parser qwen3` and `--tool-call-parser qwen3_coder`; vLLM also uses `--enable-auto-tool-choice`. These are model-card instructions for **Nanbeige4.3-33B**, not a claim that every runtime accepts the same format ([Nanbeige team](https://huggingface.co/Nanbeige/Nanbeige4.3-33B)).

In andreybavt's synthetic experiment, the agent promised an edit while its parsed response contained an empty `tool_calls` list and `finish_reason: "stop"` ([PR #47986](https://github.com/sgl-project/sglang/pull/47986)).

## Reports, causes and change status

- **onicubag, October 27:** “Can't generalize to custom tool call formats at all”. The user reports XML output despite custom-format examples, without naming a runtime version or OS. This is one user's format-friction report, not proof of a model-wide inability or a remedy ([discussion #27](https://huggingface.co/Nanbeige/Nanbeige4.3-33B/discussions/27)).
- **andreybavt, November 2:** “a successful stop with no tool call”. A synthetic OpenCode **2.0.30** experiment used **SGLang 0.5.21**, **ProCreations/Nanbeige4.3-33B-NVFP4-A16**, an **RTX PRO 6000 Server Edition 600W**, the `qwen` parser and a JSON template. The author attributes silent dropping to complete payloads violating the selected JSON format. A separate replay emitted XML; the author explicitly does not claim it reproduces the original response bytes. [PR #47986](https://github.com/sgl-project/sglang/pull/47986) proposes explicit parse errors, not XML conversion: **proposed, not merged**; no released remedy is established.
- **DavidAU, November 2:** “including multiple "naked" carriage returns”. The user attributes quality/tool problems to the template and posts a replacement. The discussion is **open**, not a merged model update. **November 4 follow-up:** owao reports an error formatting that paste, and DavidAU acknowledges copy/paste damage; do not treat the pasted replacement as an established repair ([discussion #34](https://huggingface.co/Nanbeige/Nanbeige4.3-33B/discussions/34)).

Reviewed 2026-11-04; template discussion follow-up dated November 4, 2026.

## Limits

The official card does not pin vLLM/SGLang versions or establish an OS compatibility matrix. Its server examples use four-way tensor parallelism; these parser settings are not hardware sizing guidance. The custom-format and template complaints are individual reports. The SGLang evidence is synthetic and uses a community quantization; it does not establish agent success after the proposed change ([card](https://huggingface.co/Nanbeige/Nanbeige4.3-33B), [PR](https://github.com/sgl-project/sglang/pull/47986)).

Not for: Qwen prompt-prefix reuse in llama.cpp; see [llama-cpp-qwen-agent-full-prompt-reprocessing-preserve-thinking](/t/llama-cpp-qwen-agent-full-prompt-reprocessing-preserve-thinking).

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.