Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(transcript_view): correct test assertion for empty transcript

Steven Enamakel7ab0bcc0f5ea
diff --git a/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs b/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
index fbcf87fafb..9e265fc2e3 100644
--- a/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
+++ b/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
@@ -92,10 +92,18 @@ fn projects_turn_with_tools_reasoning_and_sanitization() {
}
match &items[3] {
DisplayItem::AssistantMessage {
- content, interim, ..
+ content,
+ interim,
+ ts,
+ ..
} => {
assert_eq!(content, "Let me check.");
assert!(*interim, "tool-calling assistant step is interim");
+ assert_eq!(
+ ts.as_deref(),
+ Some("2026-07-21T09:00:01Z"),
+ "assistantMessage carries the underlying record's ts"
+ );
}
other => panic!("expected interim assistantMessage, got {other:?}"),
}