From bf001da4bfb53854927b68055a12efd05d494786 Mon Sep 17 00:00:00 2001 From: Chauncey Date: Tue, 3 Feb 2026 14:46:05 +0800 Subject: [PATCH] [Bugfix] Interleaved thinking keeps compatibility with reasoning_content (#33635) Signed-off-by: chaunceyjiang Co-authored-by: Koushik Dutta --- vllm/entrypoints/chat_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vllm/entrypoints/chat_utils.py b/vllm/entrypoints/chat_utils.py index 50b664bdb..c77c18a58 100644 --- a/vllm/entrypoints/chat_utils.py +++ b/vllm/entrypoints/chat_utils.py @@ -1463,6 +1463,9 @@ def _parse_chat_message_content( # Include reasoning if present for interleaved thinking. if reasoning is not None: result_msg["reasoning"] = cast(str, reasoning) + result_msg["reasoning_content"] = cast( + str, reasoning + ) # keep compatibility elif role == "tool": parsed_msg = _ToolParser(message) if "tool_call_id" in parsed_msg: