Skip to content

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

test(message_convert): add tests for message conversion

Steven Enamakel4b798bdd3bf0
diff --git a/crates/openhuman-core/src/agent/message_convert_tests.rs b/crates/openhuman-core/src/agent/message_convert_tests.rs
index bbeabd2753..7d0bb6b430 100644
--- a/crates/openhuman-core/src/agent/message_convert_tests.rs
+++ b/crates/openhuman-core/src/agent/message_convert_tests.rs
@@ -371,9 +371,7 @@ fn reasoning_from_content_keeps_every_thinking_block_in_order() {
text: "first span".into(),
signature: None,
},
- ContentBlock::Text {
- text: "visible".into(),
- },
+ ContentBlock::Text("visible".into()),
ContentBlock::Thinking {
text: "second span".into(),
signature: None,