diff --git a/python/sglang/srt/entrypoints/openai/serving_chat.py b/python/sglang/srt/entrypoints/openai/serving_chat.py index 164f3ee48392..657857c3df0a 100644 --- a/python/sglang/srt/entrypoints/openai/serving_chat.py +++ b/python/sglang/srt/entrypoints/openai/serving_chat.py @@ -1023,8 +1023,11 @@ def _build_chat_response( metadata={"weight_version": ret[0]["meta_info"]["weight_version"]}, ) if choices: + verification_text = ( + choices[0].message.content or choices[0].message.reasoning_content + ) chunk.chutes_verification = get_chutes_verification_value( - chunk.id, chunk.created, choices[0].message.content + chunk.id, chunk.created, verification_text ) return chunk