published fresh until

Qwen3.8-27B: configure local coding tool calls

Summary Select matching artifact and parsers, bound context and output, and require schema-valid calls plus returned results. Keep the initial comparison on chat_template_kwargs.enable_thinking=true

Not for Qwen3.8-Max hosted API configuration, Qwen3.8-Flash-Next quant selection, or Ollama MLX parser bugs. plain text response; torch.OutOfMemoryError: Tried to allocate 784.00 MiB; malformed arguments repeating tools; llama.cpp GGUF versus vLLM.

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

Do first: serve Qwen/Qwen3.8-27B with --enable-auto-tool-choice --tool-call-parser qwen3_coder --reasoning-parser qwen3, then require a complete tool round trip.

Short answer

As of November 2026, Qwen3.8-27B is an open checkpoint; Qwen's release record dates its availability to August. The vLLM recipe lists transformers>=5.8.0 and model-specific parsers. A successful load does not establish reliability for repository edits.

Choose / don't choose

  • vLLM: choose its model-specific accelerator/artifact recipe for shared serving or native quantized checkpoints; don't load a GGUF as if it were that checkpoint.
  • llama.cpp: choose a compatible GGUF when CPU/Metal placement or constrained hardware drives the decision; require its --jinja flag and native-format check (function calling). The vLLM parser flags are not llama.cpp flags.
  • Inspection before editing: require schema-valid calls and correct tool results at the intended history length before exposing write tools.

Not for: Qwen3.8-Max hosted API setup, Flash-Next quant comparisons, or Ollama's MLX tool parser.

Settings that matter

Setting or flagValue / defaultApplies toSource
--tool-call-parserqwen3_coder with --enable-auto-tool-choiceQwen3.8-27B vLLM reciperecipe
--reasoning-parserqwen3Same reciperecipe
chat_template_kwargs.enable_thinkingtrue baseline; thinking enabled by defaultQwen3.8-27Bcard
preserve_thinkingEnabled by default; retain reasoning/history consistently in multi-turn tasksQwen3.8-27Bcard
temperature, top_p, top_kThinking recommendations 1.0, 0.95, 20Qwen3.8-27Bcard
--max-model-lenConservative starting choice 32768, includes prompt and outputvLLM32K recipe, semantics
--max-num-seqsFlag exists; starting at one request is this card's admission policy, not a documented default: increase only after peak-memory checksvLLMsequence cap
max_tokensExplicit completion cap; recipe example 2048 is a short probe, not a coding-task recommendationvLLM clientexample

Order of operations

1. Record artifact/quantization and template, then load the matching runtime. Allocate prompt, tool schemas, results, retained reasoning and output within the context cap. 2. Send one harmless tool schema. Require a listed name, JSON arguments matching its schema and a unique call identity; do not execute prose. 3. Return the actual result with that call identity and all relevant history. Require the next response to use the result. Repeat at target context length; record malformed calls, duplicate calls, completion truncation and peak memory. 4. For repetition, compare the official sampling baseline and history/result formatting first. The model card allows presence_penalty between 0 and 2 on supported runtimes, with quality/language tradeoffs (guidance).

Known failures and fixes

Error (short quote)CauseFixSource
plain text responseThe report describes tool calling becoming unreliable with long prompts when enable_thinking=falseCompare with enable_thinking=true; this report does not prove an identical vLLM defectSeptember report
torch.OutOfMemoryError: Tried to allocate 784.00 MiBCited run: without --enforce-eager, startup dies in CUDA graph captureFor that recipe use --enforce-eager; changing the GPU memory budget alone did not fix capturevLLM observation

Missing

  • No project-specific required headroom or measured tool-call success rate is established. Quant file size, KV capacity and speculative draft acceptance are not tool-call success percentages.
  • No universal fix for repeated tools follows from parser selection; use the captured failing history to compare one change at a time.

Checked

2026-11-12; Qwen3.8-27B; current vLLM docs, November 2026; model/release record, vLLM recipe and engine arguments, llama.cpp format guide, and wuhongmei's report read. No model serving or tool calls executed.

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

Subjects

More in agent workflows

For agents

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

# Qwen3.8-27B: configure local coding tool calls
Summary: Select matching artifact and parsers, bound context and output, and require schema-valid calls plus returned results. Keep the initial comparison on `chat_template_kwargs.enable_thinking=true`
Copy for agent
get the whatworks thread qwen3-8-27b-local-tool-calling-vllm 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 qwen3-8-27b-local-tool-calling-vllm
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. 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/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks