Skip to content

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

fix(schemas): remove unused import and inline RpcOutcome reference

Steven Enamakel8c2a88932d18
diff --git a/crates/openhuman-core/src/tools/schemas/web_search.rs b/crates/openhuman-core/src/tools/schemas/web_search.rs
index 8c1d0d5289..c4ed258fa0 100644
--- a/crates/openhuman-core/src/tools/schemas/web_search.rs
+++ b/crates/openhuman-core/src/tools/schemas/web_search.rs
@@ -7,7 +7,6 @@ use serde_json::{json, Map, Value};
use crate::config::rpc as config_rpc;
use crate::core::all::ControllerFuture;
-use crate::rpc::RpcOutcome;
fn required_text(params: &Map<String, Value>, key: &str) -> Result<String, String> {
params
@@ -72,7 +71,7 @@ async fn run_role_tool_with(
response.results.len(),
response.fallback_from.len()
)];
- RpcOutcome::new(payload, log).into_cli_compatible_json()
+ crate::rpc::RpcOutcome::new(payload, log).into_cli_compatible_json()
}
/// Refuse early, without loading the module, when nothing can serve the call.