Skip to content

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

test: point the golden-parity and round-trip suites at the relocated models\n\nBringing `rpc_models` into this crate moved the types the host's own RPC\nfunctions take, and two integration targets still imported the engine's\ncopies. `memory_recall_context` then wanted `RecallContextRequest` while\nthe test handed it `tinymemory_core::RecallContextRequest` — same name,\ndifferent crate, so rustc rejected it with the "similar names, but are\nactually distinct types" note.\n\nThe relocation searched `src/` and stopped there. `tests/` is a separate\ncompilation unit and was missed, which is the same trap the memory seam\ndocs already name for `tinymemory-api` against `tinycortex-api`: two\ncrates carrying near-identical types, where reaching for the wrong one\ncompiles everywhere except the seam that joins them.\n\nIssue #5560.\n

Shanuc451ec0c1002
diff --git a/tests/memory_golden_parity_e2e.rs b/tests/memory_golden_parity_e2e.rs
index f1b235a308..66474d0372 100644
--- a/tests/memory_golden_parity_e2e.rs
+++ b/tests/memory_golden_parity_e2e.rs
@@ -70,7 +70,7 @@ use openhuman_core::openhuman::memory::ops::{
doc_put, kv_get, kv_set, memory_recall_context, memory_recall_memories, KvGetDeleteParams,
KvSetParams, PutDocParams,
};
-use tinymemory_core::rpc_models::{RecallContextRequest, RecallMemoriesRequest};
+use openhuman_core::openhuman::memory::rpc_models::{RecallContextRequest, RecallMemoriesRequest};
use tinymemory_core::tinycortex::memory_config_from;
// ── Env isolation (mirrors memory_roundtrip_e2e) ─────────────────────────────
diff --git a/tests/memory_roundtrip_e2e.rs b/tests/memory_roundtrip_e2e.rs
index b176456b12..6c7499fce7 100644
--- a/tests/memory_roundtrip_e2e.rs
+++ b/tests/memory_roundtrip_e2e.rs
@@ -19,7 +19,7 @@ use openhuman_core::openhuman::memory::ops::{
clear_namespace, doc_put, memory_recall_context, memory_recall_memories, ClearNamespaceParams,
PutDocParams,
};
-use tinymemory_core::rpc_models::{RecallContextRequest, RecallMemoriesRequest};
+use openhuman_core::openhuman::memory::rpc_models::{RecallContextRequest, RecallMemoriesRequest};
// ── Env isolation ────────────────────────────────────────────────────