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(openhuman-embed): correct error mapping in memory bind
Steven Enamakele8614d5d3bd9
diff --git a/crates/openhuman-embed/src/memory.rs b/crates/openhuman-embed/src/memory.rsindex 0fe3b739a0..35e006fde3 100644--- a/crates/openhuman-embed/src/memory.rs+++ b/crates/openhuman-embed/src/memory.rs@@ -131,13 +131,13 @@ impl Memory {/// Binds `base` to the layout root `root` (`team:acme`).pub(crate) fn bind(mut base: Config, root: &str) -> Result<Self> {let root = root.trim();- openhuman_core::memory::scope::validate_root(root).map_err(Error::invalid)?;+ openhuman_core::memory::scope::validate_root(root).map_err(Error::InvalidRequest)?;let namespace: Namespace = root.parse().map_err(|error: tinymemory_api::Error| Error::InvalidRequest(error.to_string()))?;if namespace.is_root() {return Err(Error::InvalidRequest(- "a tenant's memory needs a root below the store root",+ "a tenant's memory needs a root below the store root".into(),));}let layout = MemoryLayout::new(namespace)?;