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
chore: files changed crates/openhuman-core/src/memory/deletion.rs,crates/openhuman-core/src/memory/s
Steven Enamakel685b1dd7d52f
diff --git a/crates/openhuman-core/src/memory/deletion.rs b/crates/openhuman-core/src/memory/deletion.rsindex 18ae78719f..b5a7ede2ad 100644--- a/crates/openhuman-core/src/memory/deletion.rs+++ b/crates/openhuman-core/src/memory/deletion.rs@@ -18,6 +18,7 @@ use std::sync::{Arc, LazyLock, Mutex};use async_trait::async_trait;use tinymemory_tools::deletion::{Backoff, DeletionExecutor, DeletionQueue, Drain};use tinymemory_tools::list_store::{ListStore, StoreError};+use tinymemory_tools::ops::MemoryOps;pub use tinymemory_tools::deletion::PendingDeletion;@@ -125,7 +126,7 @@ impl DeletionExecutor for Executor<'_> {let bound = engine::resolve(self.config).engine().map_err(|error| error.code().to_string())?;- let ops = super::ops::memory_ops(self.config).map_err(|error| error.code().to_string())?;+ let ops = MemoryOps::unconfined();ops.forget_or_enqueue(Some(bound.engine.as_ref()), deletion.clone(), |deletion| {enqueue(&self.config.workspace_dir, deletion);})@@ -175,22 +176,7 @@ pub async fn forget_thread(config: &Config, thread_id: &str) -> usize {return 0;}};- let ops = match super::ops::memory_ops(config) {- Ok(ops) => ops,- Err(error) => {- tracing::warn!(- code = error.code(),- "[memory:deletion] forgetting a deleted thread failed; queued"- );- enqueue(- &config.workspace_dir,- PendingDeletion::Thread {- thread_id: thread_id.to_string(),- },- );- return 0;- }- };+ let ops = MemoryOps::unconfined();let engine = bound.as_ref().map(|bound| bound.engine.as_ref());match ops.forget_thread(engine, thread_id, |deletion| {diff --git a/crates/openhuman-core/src/memory/sources/mod.rs b/crates/openhuman-core/src/memory/sources/mod.rsindex f2e4ffe566..c4a198c72c 100644--- a/crates/openhuman-core/src/memory/sources/mod.rs+++ b/crates/openhuman-core/src/memory/sources/mod.rs@@ -166,10 +166,7 @@ pub async fn forget_items(config: &Config, id: &str) -> Result<usize> {Err(Error::Off(_)) => None,Err(error) => return Err(error),};- let ops = match &bound {- Some(_) => super::ops::memory_ops(config)?,- None => MemoryOps::unconfined(),- };+ let ops = MemoryOps::unconfined();let engine = bound.as_ref().map(|bound| bound.engine.as_ref());let forgotten = ops.forget_source(engine, id, |deletion| {