tinyhumansai/openhuman · error · anyhow::Error

memory_store_kinds: {e}

Error message

memory_store_kinds: {e}

What it means

Error-surfacing wrapper in the memory_store_kinds tool's execute (argument-free tool): active_memory_guard() failed or the kinds catalog query on the driver failed. Means no memory driver is bound or the driver could not report its supported storage kinds — an environment/driver problem, not a bad-argument problem.

Source

Thrown at src/openhuman/memory/tools/raw_store/kinds.rs:38

    fn name(&self) -> &str {
        "memory_store_kinds"
    }

    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)]

View on GitHub (pinned to 7491200858)

Solutions

  1. Retry after the memory driver binds
  2. Check the underlying binding error in logs
  3. Confirm the memory subsystem is enabled in this build
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/openhuman/memory/tools/raw_store/kinds.rs:38 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/3231ff0555d278b8. Report an issue: GitHub.