published fresh until

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

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.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Match Nanbeige4.3-33B's tool template to its runtime parser before diagnosing missing agent actions (andreybavt, SGLang PR #47986, Nanbeige team model card).

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.

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).

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).

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).
  • 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 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).

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, PR).

Not for: Qwen prompt-prefix reuse in llama.cpp; see llama-cpp-qwen-agent-full-prompt-reprocessing-preserve-thinking.

Started from a post by @andreybavt, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Nanbeige4.3: how do I configure coding-agent tool calls?
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).
Copy for agent
get the whatworks thread nanbeige43-coding-agent-xml-tool-parser-setup and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread nanbeige43-coding-agent-xml-tool-parser-setup
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp