Skip to content

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

chore: remove leftover debug logging and unused test storage setup

Steven Enamakelba81175cac5c
diff --git a/crates/openhuman-core/src/modules/storage_grants.rs b/crates/openhuman-core/src/modules/storage_grants.rs
index d0262c27b8..f68fd4bbb9 100644
--- a/crates/openhuman-core/src/modules/storage_grants.rs
+++ b/crates/openhuman-core/src/modules/storage_grants.rs
@@ -371,7 +371,7 @@ fn documents(grant: &StorageGrant, selector: &str, request: &Value) -> Result<Pl
.ok_or(Denied::Malformed)?;
match grant.spec(&wanted.name) {
Some(declared) if *declared == wanted => Ok(Plan::Answer(Value::Null)),
- other => { eprintln!("DBGG wanted={wanted:?} declared={other:?}"); Err(Denied::Schema) }
+ _ => Err(Denied::Schema),
}
}
"DropCollection" => Err(Denied::Schema),
diff --git a/crates/openhuman-embed/tests/channel_agents.rs b/crates/openhuman-embed/tests/channel_agents.rs
index a30924c415..a8d0a59dd1 100644
--- a/crates/openhuman-embed/tests/channel_agents.rs
+++ b/crates/openhuman-embed/tests/channel_agents.rs
@@ -156,14 +156,9 @@ fn a_telegram_message_is_answered_by_the_bound_runtime_agent() {
// The Bot API base is read when the channel is built.
std::env::set_var("OPENHUMAN_TELEGRAM_BOT_API_BASE", bot_api.uri());
- // The TinyChannels module keeps its delivery state in the host's
- // installed storage, so the runtime needs a backend of its own.
- let storage_dir = tempfile::tempdir().expect("SQLite storage directory");
- let storage_url = openhuman_core::storage::config::default_url(storage_dir.path());
let runtime = Runtime::builder()
.config(offline_config())
.workspace(Workspace::Ephemeral)
- .storage(storage_url)
.backend_url(backend.uri())
.api_key("sk-managed-fixture")
.build()