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/files_tests.rs,crates/openhuman-core/src/memor
Steven Enamakel5edbb82b0054
diff --git a/crates/openhuman-core/src/memory/files_tests.rs b/crates/openhuman-core/src/memory/files_tests.rsindex b23483d81e..98d0f7a999 100644--- a/crates/openhuman-core/src/memory/files_tests.rs+++ b/crates/openhuman-core/src/memory/files_tests.rs@@ -62,7 +62,12 @@ async fn every_memory_state_file_is_owner_only() {let config = config_in(&tmp);let workspace = config.workspace_dir.clone();- crate::memory::channels::record(&workspace, "telegram", "thread-1");+ crate::memory::deletion::enqueue(+ &workspace,+ crate::memory::deletion::PendingDeletion::Thread {+ thread_id: "thread-1".into(),+ },+ );crate::memory::sources::state::update(&workspace, "src-1", |_| {});crate::memory::layout_migration::state::save(&workspace, &Default::default()).unwrap();jobs::enqueue(diff --git a/crates/openhuman-core/src/memory/ops.rs b/crates/openhuman-core/src/memory/ops.rsindex 95b388edc4..a9ef020730 100644--- a/crates/openhuman-core/src/memory/ops.rs+++ b/crates/openhuman-core/src/memory/ops.rs@@ -414,15 +414,15 @@ pub async fn forget(config: &Config, params: ForgetParams) -> Result<ForgetView>/// after one release.pub async fn forget_channel(config: &Config, channel: &str) -> Result<usize> {let channel = channel.trim().to_ascii_lowercase();+ if channel.is_empty() {+ return Ok(0);+ }let legacy_threads = legacy_channel_threads(&config.workspace_dir, &channel);let bound = match engine::resolve(config).engine() {Ok(bound) => Some(bound),Err(Error::Off(_)) => None,Err(error) => return Err(error),};- if channel.is_empty() {- return Ok(0);- }// Capture the request's tenant/profile before the thread-store wrappers// move their I/O to the blocking pool.