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
refactor(wallet_host): remove unused transport helpers
Steven Enamakelf96ea7ca563e
diff --git a/crates/openhuman-core/src/modules/wallet_host/transport.rs b/crates/openhuman-core/src/modules/wallet_host/transport.rsdeleted file mode 100644index cd8dd37cce..0000000000--- a/crates/openhuman-core/src/modules/wallet_host/transport.rs+++ /dev/null@@ -1,28 +0,0 @@-pub(super) enum TransportFailure {- Unreachable(String),- Rpc(String),-}--pub(super) fn classify_transport_error(message: String) -> TransportFailure {- if ["transport failed", "read body failed"]- .iter()- .any(|marker| message.contains(marker))- {- TransportFailure::Unreachable(message)- } else {- TransportFailure::Rpc(message)- }-}--pub(super) fn validate_module_endpoint_url(raw: &str) -> Result<String, String> {- let url = reqwest::Url::parse(raw)- .map_err(|_| "wallet module selected an invalid RPC endpoint URL".to_string())?;- if !matches!(url.scheme(), "http" | "https")- || url.host_str().is_none()- || !url.username().is_empty()- || url.password().is_some()- {- return Err("wallet module selected an unsafe RPC endpoint URL".into());- }- Ok(raw.to_owned())-}