Skip to content

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

feat(memory): add schema handlers for memory types

Steven Enamakel1384edaa3bdc
diff --git a/crates/openhuman-core/src/memory/schemas/handlers.rs b/crates/openhuman-core/src/memory/schemas/handlers.rs
index 4d9ee106a8..ff2ad06cc6 100644
--- a/crates/openhuman-core/src/memory/schemas/handlers.rs
+++ b/crates/openhuman-core/src/memory/schemas/handlers.rs
@@ -12,7 +12,7 @@ use crate::memory::error::{MemoryError, MemoryResult};
use crate::memory::explore::{self, ExploreParams, ItemsGetParams};
use crate::memory::lifecycle::views::{self, JobsRunParams, PackPreviewParams, PolicySetParams};
use crate::memory::types::{
- EmptyParams, EngineSetParams, FetchParams, ForgetParams, ImportStartParams, ImportStateView,
+ EmptyParams, EngineSetParams, EraseAllParams, FetchParams, ForgetParams, ImportStartParams, ImportStateView,
ItemsListParams, LearnParams, RecallParams, SourceAddedView, SourceRemovedView,
SourcesAddParams, SourcesListView, SourcesRemoveParams, SourcesSyncParams, SourcesSyncView,
};
diff --git a/crates/openhuman-core/src/memory/types.rs b/crates/openhuman-core/src/memory/types.rs
index 0a6df8add3..b5264e7f7d 100644
--- a/crates/openhuman-core/src/memory/types.rs
+++ b/crates/openhuman-core/src/memory/types.rs
@@ -200,7 +200,6 @@ pub struct ForgetView {
/// `memory_erase_all` params.
#[derive(Debug, Clone, Deserialize)]
-#[serde(deny_unknown_fields)]
pub struct EraseAllParams {
/// Must be `true`: an interlock, because nothing erased comes back.
#[serde(default)]