tinyhumansai/openhuman · error · anyhow::Error

memory_store_raw_chunks: {e}

Error message

memory_store_raw_chunks: {e}

What it means

Error-surfacing wrapper in the memory_store_raw_chunks tool's execute: the driver chunk query failed after args parsed and logged. This is the post-validation failure path — driver unbound, unsupported family, or query error — not an argument problem (those raise the `invalid arguments` / SourceKind / limit errors separately).

Source

Thrown at src/openhuman/memory/tools/raw_store/raw_chunks.rs:81

                "limit":       { "type": "integer", "minimum": 1, "maximum": 1000, "description": "Default 100." }
            }
        })
    }

    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {
        let parsed: Args = serde_json::from_value(args)
            .map_err(|e| anyhow::anyhow!("invalid arguments for memory_store_raw_chunks: {e}"))?;
        log::debug!(
            "[tool][memory_store] raw_chunks source_kind={:?} owner={:?} tags={:?} limit={:?}",
            parsed.source_kind,
            parsed.owner,
            parsed.tags_all_of,
            parsed.limit
        );
        let source_kind = match parsed.source_kind.as_deref() {
            Some(s) => Some(
                SourceKind::parse(s)
                    .map_err(|e| anyhow::anyhow!("memory_store_raw_chunks: {e}"))?,
            ),
            None => None,
        };
        if let Some(limit) = parsed.limit {
            if !(1..=1000).contains(&limit) {
                return Err(anyhow::anyhow!(
                    "memory_store_raw_chunks: limit must be between 1 and 1000"
                ));
            }
        }
        // The per-profile memory-source gate is applied inside `list_chunks`
        // (before the row limit). None = unrestricted.
        let query = ChunkQuery {
            source_kind,
            source_id: parsed.source_id,
            owner: parsed.owner,
            since_ms: parsed.since_ms,
            until_ms: parsed.until_ms,

View on GitHub (pinned to 7491200858)

Solutions

  1. Retry after driver binding at boot
  2. Check the chained binding error
  3. Verify the memory module is loaded
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/openhuman/memory/tools/raw_store/raw_chunks.rs:81 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/66835d6934947bcd. Report an issue: GitHub.