mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-13 14:56:11 -04:00
The mlx, mlx-vlm, mlx-distributed and vllm-omni backends only forwarded enable_thinking when the metadata value was "true". A "false" value never reached apply_chat_template, so requests with thinking disabled (for example a realtime pipeline with disable_thinking: true) still used the chat template default. Apply the same coerce that #11715 added to sglang and vllm. Assisted-by: Claude:claude-opus-5 Signed-off-by: devv-shayan <shayankhanx1x@gmail.com>