PSA: Watch out for extra spaces in chat-template-kwargs when using Qwen3.6 with llama-server

**Editorial Brief** A minor but critical issue has been identified in the configuration of Qwen3.6 with Llama-Server, where extra spaces in `chat-template-kwargs`…

By AI Maestro May 11, 2026 1 min read
PSA: Watch out for extra spaces in chat-template-kwargs when using Qwen3.6 with llama-server

**Editorial Brief**

A minor but critical issue has been identified in the configuration of Qwen3.6 with Llama-Server, where extra spaces in `chat-template-kwargs` are causing a parsing error for the `preserve_thinking` parameter.

For users running Qwen3.6 through Llama-Server, it is crucial to ensure that there are no unnecessary spaces around or within JSON keys and values in their configuration files. This fix should be applied immediately to avoid unintended behavior where hidden parameters such as `preserve_thinking` do not function correctly.

**Takeaways:**

1. **Check Configuration for Spaces:** Ensure all JSON strings have clean, unbroken key-value pairs without extra spaces.
2. **Test with a Known Case:** Verify the issue by sending a prompt like “think of a number from 1 to 100” and checking if the hidden number remains consistent across guesses.
3. **Update Configurations:** Update any existing configurations to remove or correct spaces in `chat-template-kwargs` for optimal performance.

By following these steps, users can ensure their Qwen3.6 setup works as intended without unexpected behavior.

Stay ahead of AI. Get the most important stories delivered to your inbox — no spam, no noise.

Name
Scroll to Top