🦙Stalecollected in 5h

LM Studio Parser Bugs Break Qwen3.5 Tools

PostLinkedIn
🦙Read original on Reddit r/LocalLLaMA
#tool-calling#parser-bug#local-inferencelm-studiolm-studioqwen3.5deepseek-r1

💡Fixes for LM Studio bugs crippling Qwen3.5 tools & reasoning—essential for local devs.

⚡ 30-Second TL;DR

What Changed

Parser misinterprets tool syntax in <think> blocks, triggering recursive loops.

Why It Matters

Undermines reliability of local tool-using LLMs in LM Studio, forcing workarounds that disable key reasoning features and limit multi-tool setups.

What To Do Next

Disable reasoning in LM Studio via '{%- set enable_thinking = false %}' and retest Qwen3.5 tool calls.

Who should care:Developers & AI Engineers

Key Points

  • Parser misinterprets tool syntax in <think> blocks, triggering recursive loops.
  • Second MCP server registration corrupts first server's tool call recognition.
  • Prevents models from debugging tool issues as descriptions trigger parser.
  • Workaround: set enable_thinking = false for successful tool calls.

🧠 Deep Insight

Background and context from public sources — not the original article. 7 sources cited.

🔑 Enhanced Key Takeaways

  • LM Studio fixed a Qwen3.5 RAG Jinja rendering bug reporting 'No user query found in messages', distinct from the ongoing parser token errors[3].
  • Multiple open issues with Qwen3 models in LM Studio include 'Load model greyed out with Qwen3 Next models' and low-quality vision output for Qwen3-VL on macOS[2].
  • A specific Jinja template parser error in LM Studio for Qwen3 manifests as 'Expected closing statement token. OpenSquareBracket !== CloseStatement', linked to prompt rendering failures[1].

🛠️ Technical Deep Dive

  • The bug involves Jinja2 template parsing failure during prompt rendering for Qwen3, where an unclosed statement token error occurs due to mismatched brackets like OpenSquareBracket in complex message loops[1].
  • Qwen3.5-35B-A3B is a reasoning vision-language MoE model with 35B total parameters and 3B activated, designed to support tool use[7].
  • Qwen3 family includes dense models from 4B to 235B and MoE variants, with thinking and non-thinking options; smallest requires 2GB RAM, largest up to 134GB[6].

🔮 Future ImplicationsAI analysis grounded in cited sources

LM Studio Qwen3 parser bugs will remain unresolved beyond March 2026
The referenced GitHub issue opened April 2025 and similar Qwen3 issues opened October 2025 are still open as of the current date[1][2].
Qwen3.5 tool calling in LM Studio will continue requiring thinking disable workaround
No fixes for block parsing or MCP server issues appear in recent changelog entries, leaving original workarounds as the only solution[3].

Timeline

2025-04
Qwen3 parser error issue #630 opened in LM Studio bug tracker
2025-10
Multiple Qwen3-related bugs opened including model loading and vision issues
📰

Weekly AI Recap

Read this week's curated digest of top AI events →

👉Related Updates

AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/LocalLLaMA

This is a summary, not the original. Read the source, or get the weekly briefing.

Weekly AI briefing

One email a week. Unsubscribe anytime.