diff --git a/vllm/reasoning/nemotron_v3_reasoning_parser.py b/vllm/reasoning/nemotron_v3_reasoning_parser.py index 52a57ccc8e..7256f0f128 100644 --- a/vllm/reasoning/nemotron_v3_reasoning_parser.py +++ b/vllm/reasoning/nemotron_v3_reasoning_parser.py @@ -26,7 +26,7 @@ class NemotronV3ReasoningParser(DeepSeekR1ReasoningParser): chat_template_kwargs.get("enable_thinking") is False or chat_template_kwargs.get("force_nonempty_content") is True ) - and final_content is None + and (final_content is None or not final_content.strip()) ): reasoning, final_content = final_content, reasoning