tinyhumansai/openhuman · error · anyhow::Error
memory_store_kinds: memory driver does not support the chunk
Error message
memory_store_kinds: memory driver does not support the chunk family
What it means
The bound driver's chunk family accessor is None, so the storage-kind catalog cannot be queried. memory_store_kinds routes through MemoryChunks; a driver without it cannot answer the catalog question.
Source
Thrown at src/openhuman/memory/tools/raw_store/kinds.rs:42
fn description(&self) -> &str {
"Return the catalog of memory_store storage kinds the active memory \
driver persists. No arguments. Use when planning a multi-kind \
retrieval fan-out."
}
fn parameters_schema(&self) -> serde_json::Value {
json!({ "type": "object", "properties": {} })
}
async fn execute(&self, _args: Value) -> anyhow::Result<ToolResult> {
log::debug!("[tool][memory_store] kinds start");
let guard = active_memory_guard()
.await
.map_err(|e| anyhow::anyhow!("memory_store_kinds: {e}"))?;
let kinds = guard
.as_chunks()
.ok_or_else(|| {
anyhow::anyhow!(
"memory_store_kinds: memory driver does not support the chunk family"
)
})?
.storage_kinds()
.await
.map_err(|e| anyhow::anyhow!("memory_store_kinds: {e}"))?;
log::debug!("[tool][memory_store] kinds success count={}", kinds.len());
Ok(ToolResult::success(serde_json::to_string(
&json!({ "kinds": kinds }),
)?))
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]View on GitHub (pinned to 7491200858)
Solutions
- Use a chunk-capable memory driver
- Diagnose why the bound driver lacks MemoryChunks
- Skip storage-kind planning against this backend
Defensive patterns
Strategy: type-guard
When it happens
Trigger: Thrown at src/openhuman/memory/tools/raw_store/kinds.rs:42 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/56a8cc012eb2857e.
Report an issue: GitHub.