Skip to content

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

fix(test): remove unnecessary cast in session checkout test

Steven Enamakel08a0319e0eae
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index 46190599d3..36d0af2b99 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -59,7 +59,7 @@ fn write_thread_transcript(workspace_dir: &Path, stem: &str, thread_id: &str, ro
model: None,
created: "2026-09-20T15:33:42Z".into(),
updated: "2026-09-20T15:36:32Z".into(),
- turn_count: (rows.len() / 2) as u32,
+ turn_count: rows.len() / 2,
input_tokens: 0,
output_tokens: 0,
cached_input_tokens: 0,