The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(storage): use get(0) instead of first() in stream test
Steven Enamakelae844ca46f7a
diff --git a/crates/openhuman-core/src/modules/storage_host_cdylib_stream_tests.rs b/crates/openhuman-core/src/modules/storage_host_cdylib_stream_tests.rsindex 437703dded..7e7a1e27c6 100644--- a/crates/openhuman-core/src/modules/storage_host_cdylib_stream_tests.rs+++ b/crates/openhuman-core/src/modules/storage_host_cdylib_stream_tests.rs@@ -197,7 +197,7 @@ async fn a_second_module_cannot_receive_the_first_modules_watch_signals() {if let Ok(Ok(message)) =tokio::time::timeout(std::time::Duration::from_millis(200), everything.recv()).await{- let id = message.body.first().and_then(|b| b["watch_id"].as_str());+ let id = message.body.get(0).and_then(|b| b["watch_id"].as_str());ids.push(id.map_or_else(|| format!("<non-watch: {:?}>", message.body),str::to_string,