Skip to content

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

fix(agent): handle missing wallet in tool execution

Steven Enamakele1f330113b4d
diff --git a/crates/openhuman-core/src/agent/session_host/turn/tools.rs b/crates/openhuman-core/src/agent/session_host/turn/tools.rs
index 6b9c57410e..e55a00975e 100644
--- a/crates/openhuman-core/src/agent/session_host/turn/tools.rs
+++ b/crates/openhuman-core/src/agent/session_host/turn/tools.rs
@@ -1,7 +1,6 @@
//! Tool execution and Composio delegation refresh.
use super::super::types::OpenHumanSessionHost;
-use crate::agent::progress::AgentProgress;
use std::sync::Arc;
diff --git a/crates/openhuman-core/src/web3/wallet/rpc.rs b/crates/openhuman-core/src/web3/wallet/rpc.rs
index 0316043981..48f955202d 100644
--- a/crates/openhuman-core/src/web3/wallet/rpc.rs
+++ b/crates/openhuman-core/src/web3/wallet/rpc.rs
@@ -12,8 +12,6 @@ use once_cell::sync::Lazy;
use serde::de::DeserializeOwned;
use serde_json::{json, Value};
-use super::endpoints::rpc_url_for_chain;
-use super::ops::WalletChain;
const LOG_PREFIX: &str = "[wallet::rpc]";