Skip to content

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

style(threads): format live-state assertions

Steven Enamakel30a5655eb576
diff --git a/crates/openhuman-core/src/threads/ops/live_state_tests.rs b/crates/openhuman-core/src/threads/ops/live_state_tests.rs
index 2e4da23a97..82104658ad 100644
--- a/crates/openhuman-core/src/threads/ops/live_state_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/live_state_tests.rs
@@ -57,7 +57,10 @@ async fn goal_get_reads_back_a_stored_goal() {
.await
.unwrap();
let empty_json = empty.into_cli_compatible_json().unwrap();
- assert!(empty_json["result"]["data"]["goal"].is_null(), "{empty_json}");
+ assert!(
+ empty_json["result"]["data"]["goal"].is_null(),
+ "{empty_json}"
+ );
let dir = crate::config::Config::load_or_init()
.await
@@ -94,7 +97,10 @@ async fn todos_get_reads_back_what_the_todo_tool_wrote() {
.await
.unwrap();
let empty_json = empty.into_cli_compatible_json().unwrap();
- assert!(empty_json["result"]["data"]["todos"].as_array().unwrap().is_empty());
+ assert!(empty_json["result"]["data"]["todos"]
+ .as_array()
+ .unwrap()
+ .is_empty());
let scope = crate::agent::todos::ops::TodoScope::Session {
id: "thread-todos-live".to_string(),