Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(memory): prevent panic on empty graph in family guard

Steven Enamakel9b2366fc042f
diff --git a/crates/openhuman-core/src/memory/guard/families/graph_and_bookkeeping.rs b/crates/openhuman-core/src/memory/guard/families/graph_and_bookkeeping.rs
index 6430ba6ea2..f9cf97b3d3 100644
--- a/crates/openhuman-core/src/memory/guard/families/graph_and_bookkeeping.rs
+++ b/crates/openhuman-core/src/memory/guard/families/graph_and_bookkeeping.rs
@@ -24,7 +24,7 @@ use crate::memory::api::provider::{
MemorySourceSink, MemoryToolMemory,
};
use crate::memory::api::tool_memory::ToolMemoryRule;
-use crate::memory::api::types::{GraphRelationRecord, MemoryKvRecord};
+use crate::memory::api::types::{GraphRelationRecord, MemoryKvRecord, MemoryTaint};
use async_trait::async_trait;
use super::super::audit::{trace_allowed, NO_NAMESPACE};