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(memory): wrap fallible errors with explicit `anyhow!` construction
Steven Enamakelda43b371eb1e
diff --git a/crates/openhuman-core/src/memory/auto_recall/source.rs b/crates/openhuman-core/src/memory/auto_recall/source.rsindex 3dd412fcb0..d0572ab4f1 100644--- a/crates/openhuman-core/src/memory/auto_recall/source.rs+++ b/crates/openhuman-core/src/memory/auto_recall/source.rs@@ -98,7 +98,7 @@ impl AutoRecallSource for GuardSource {limit,).await- .map_err(MemoryError::other);+ .map_err(|e| MemoryError::Other(anyhow::anyhow!(e)));};// No session to exclude: the notes namespace is never auto-saved per// session, and the lane runs before this turn is archived, so there isdiff --git a/crates/openhuman-core/src/memory/preferences/mod.rs b/crates/openhuman-core/src/memory/preferences/mod.rsindex 682b19fab2..cd81258c9d 100644--- a/crates/openhuman-core/src/memory/preferences/mod.rs+++ b/crates/openhuman-core/src/memory/preferences/mod.rs@@ -100,7 +100,7 @@ pub(crate) async fn recall_by_vector_over(// answers, so Lane B still works instead of injecting nothing.None => crate::memory::ops::fallback::recall_hits(provider, namespace, query, limit).await- .map_err(MemoryError::other)?,+ .map_err(|e| MemoryError::Other(anyhow::anyhow!(e)))?,};// The floor is "tunable against live data", and this line is that data:// how close the best candidate came, whether or not it cleared. Keys and