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
fix(tools): update stale tool id in test and doc comment
Steven Enamakel34f2fd1364a0
diff --git a/crates/openhuman-core/src/tools/registry/ops_tests.rs b/crates/openhuman-core/src/tools/registry/ops_tests.rsindex fd43f5e818..2fb853b37f 100644--- a/crates/openhuman-core/src/tools/registry/ops_tests.rs+++ b/crates/openhuman-core/src/tools/registry/ops_tests.rs@@ -228,12 +228,12 @@ fn insert_registry_entry_skips_duplicate_tool_id() {#[test]fn get_tool_trims_and_returns_exact_entry() {- // `memory.search` is an MCP-transport entry, so it is absent when the `mcp`+ // `memory.recall` is an MCP-transport entry, so it is absent when the `mcp`// feature is compiled out. The behaviour under test here is id *trimming*,// not MCP — so fall back to a controller-transport entry rather than gating// the whole test away and losing that coverage in slim builds.#[cfg(feature = "mcp")]- let tool_id = "memory.search";+ let tool_id = "memory.recall";#[cfg(not(feature = "mcp"))]let tool_id = "tools.web_search";diff --git a/crates/openhuman-core/src/tools/registry/types.rs b/crates/openhuman-core/src/tools/registry/types.rsindex d52cfaab13..445970634f 100644--- a/crates/openhuman-core/src/tools/registry/types.rs+++ b/crates/openhuman-core/src/tools/registry/types.rs@@ -4,7 +4,7 @@ use serde_json::Value;/// Serialized discovery metadata for one OpenHuman tool surface.#[derive(Debug, Clone, PartialEq, Serialize)]pub struct ToolRegistryEntry {- /// Stable unique registry id, such as `memory.search` or `tools.web_search`.+ /// Stable unique registry id, such as `memory.recall` or `tools.web_search`.pub tool_id: String,/// Machine-readable tool name exposed by the source surface.pub name: String,