Skip to content

Commit a088297

Browse files
committed
Update test_doc.py
1 parent c910d58 commit a088297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def test_stop_behavior_in_reasoning(self):
301301
print(f"[DEBUG] Finish Reason: {final_finish_reason}")
302302

303303
# 1. 验证 reasoning 内容回来了 (Think 过程不应为空)
304-
assert len(collected_reasoning) > 10, "Expected significant reasoning content from R1 model."
304+
assert len(collected_reasoning) > 10, f"Expected significant reasoning content from R1 model. {collected_reasoning}"
305305

306306
# 2. 验证 Stop 生效 (Content 应该包含 'The sun is like a ' 但不包含 'Banana')
307307
assert "The sun" in collected_content

0 commit comments

Comments
 (0)