Hey there! Firstly oMLX is awesome, thank you for making MLX models so easy to run! 😎
Describe the bug
I'm calling mlx-community/Qwen3.6-27B-mxfp8 via the OpenAI API endpoint. No matter what I try, I can't get API request parameters to disable thinking.
Thinking can be disabled in the oMLX model settings by changing the preset, but I'd like to be able to do it programmatically at runtime.
The Qwen 3.6 model card says to set "chat_template_kwargs": {"enable_thinking": False}, in the request. I've tried this - as well as just a root-level enable_thinking parameter, not nested under chat_template_kwags but alongside parameters like temperature etc. - but it makes no difference.
oMLX logs show the parameters are being received, it just seems it's not affecting the model output.
I assume this is possible, but couldn't find docs explaining what I'm meant to be doing (if it's something different).
Expected behavior
Model thinking should be able to be disabled at runtime by API call, not just in the UI model settings.
Desktop (please complete the following information):
- macOS Version: Tahoe 26.4.1
- oMLX Version 0.3.9
Hey there! Firstly oMLX is awesome, thank you for making MLX models so easy to run! 😎
Describe the bug
I'm calling
mlx-community/Qwen3.6-27B-mxfp8via the OpenAI API endpoint. No matter what I try, I can't get API request parameters to disable thinking.Thinking can be disabled in the oMLX model settings by changing the preset, but I'd like to be able to do it programmatically at runtime.
The Qwen 3.6 model card says to set
"chat_template_kwargs": {"enable_thinking": False},in the request. I've tried this - as well as just a root-levelenable_thinkingparameter, not nested underchat_template_kwagsbut alongside parameters liketemperatureetc. - but it makes no difference.oMLX logs show the parameters are being received, it just seems it's not affecting the model output.
I assume this is possible, but couldn't find docs explaining what I'm meant to be doing (if it's something different).
Expected behavior
Model thinking should be able to be disabled at runtime by API call, not just in the UI model settings.
Desktop (please complete the following information):