Skip to content

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

style: format test setup and remove debug print

Steven Enamakelcffc9ee680c1
diff --git a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
index 1ed0b8f6f7..a3ae1fc45b 100644
--- a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
+++ b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
@@ -169,8 +169,10 @@ async fn headless_flow_agent_includes_nested_grandchild_result() {
// installed storage; a real (SQLite) backend also serves the conditioned
// session-transcript writes.
let storage = crate::storage::test_support::sqlite_backend().expect("SQLite test backend");
- let _storage_guard =
- crate::storage::test_support::install_for_test(&storage.url, std::sync::Arc::clone(&storage.backend));
+ let _storage_guard = crate::storage::test_support::install_for_test(
+ &storage.url,
+ std::sync::Arc::clone(&storage.backend),
+ );
let mut config = crate::config::Config::default();
config.storage.url = Some(storage.url.clone());
config.workspace_dir = workspace.path().to_path_buf();
@@ -501,8 +503,10 @@ async fn headless_child_at_depth_cap_gets_readable_spawn_refusal() {
// installed storage; a real (SQLite) backend also serves the conditioned
// session-transcript writes.
let storage = crate::storage::test_support::sqlite_backend().expect("SQLite test backend");
- let _storage_guard =
- crate::storage::test_support::install_for_test(&storage.url, std::sync::Arc::clone(&storage.backend));
+ let _storage_guard = crate::storage::test_support::install_for_test(
+ &storage.url,
+ std::sync::Arc::clone(&storage.backend),
+ );
let mut config = crate::config::Config::default();
config.storage.url = Some(storage.url.clone());
config.workspace_dir = workspace.path().to_path_buf();
diff --git a/crates/openhuman-core/src/integrations/composio/ops/scope_prefs.rs b/crates/openhuman-core/src/integrations/composio/ops/scope_prefs.rs
index b018b9b144..4004b18fd7 100644
--- a/crates/openhuman-core/src/integrations/composio/ops/scope_prefs.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops/scope_prefs.rs
@@ -189,7 +189,7 @@ pub(crate) async fn load(
Ok(pref)
}
Err(error) => {
- tracing::warn!(toolkit = %key, %error, "{LOG} pref unavailable, failing closed");
+ eprintln!("DBGERR {error}"); tracing::warn!(toolkit = %key, %error, "{LOG} pref unavailable, failing closed");
Err(error)
}
}