Skip to content

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

fix(memory): note a driver with no summariser or embedder at debug

Shanu006d9fd2d779
diff --git a/crates/openhuman-core/src/agent/harness/archivist/lifecycle.rs b/crates/openhuman-core/src/agent/harness/archivist/lifecycle.rs
index 376099467d..f0f719b083 100644
--- a/crates/openhuman-core/src/agent/harness/archivist/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/harness/archivist/lifecycle.rs
@@ -652,6 +652,14 @@ impl ArchivistHook {
}
}
}
+ // A driver that embeds only what it stores (hosted memory) has no
+ // embed-on-request route: that is its shape, not a failure.
+ Err(e @ crate::memory::api::error::MemoryError::Unsupported { .. }) => {
+ tracing::debug!(
+ "[archivist] driver does not embed on request — skipping segment embedding \
+ segment={segment_id} model={model_signature}: {e}"
+ );
+ }
Err(e) => {
tracing::warn!(
"[archivist] embed call failed (non-fatal) segment={segment_id} model={model_signature}: {e}"
diff --git a/crates/openhuman-core/src/agent/harness/archivist/recap.rs b/crates/openhuman-core/src/agent/harness/archivist/recap.rs
index 2fff00b108..5f6b245b7c 100644
--- a/crates/openhuman-core/src/agent/harness/archivist/recap.rs
+++ b/crates/openhuman-core/src/agent/harness/archivist/recap.rs
@@ -349,6 +349,14 @@ impl ArchivistHook {
heuristic fallback segment={segment_id} elapsed_ms={elapsed_ms}"
);
}
+ // A driver with a tree but no model to fold with (hosted
+ // memory) says so: the heuristic recap is its answer.
+ Err(e @ crate::memory::api::error::MemoryError::Unsupported { .. }) => {
+ tracing::debug!(
+ "[archivist] summarize_entries: driver has no summariser — \
+ heuristic fallback segment={segment_id}: {e}"
+ );
+ }
Err(e) => {
tracing::warn!(
"[archivist] summarize_entries: LLM recap failed (non-fatal) \