tinyhumansai/openhuman · error
flow_memory_recall: {e}
Error message
flow_memory_recall: {e} What it means
The flow_memory_recall tool's underlying memory recall (namespace-scoped or thread-scoped, per the `scope` argument) errored; wrapped with the tool name for the LLM. Arguments were parsed first, so this is a memory-subsystem failure, not a caller-input problem.
Source
Thrown at src/openhuman/flows/memory_tools.rs:340
let flow_id = flow_id.as_str();
let scope = args.get("scope").and_then(|v| v.as_str()).unwrap_or("flow");
#[allow(clippy::cast_possible_truncation)]
let limit = args
.get("limit")
.and_then(serde_json::Value::as_u64)
.map_or(5, |v| v as usize);
match scope {
"flow" => {
let namespace = flow_namespace(flow_id);
let opts = OwnedRecallOpts {
namespace: Some(namespace.clone()),
..Default::default()
};
let guard = active_memory_guard()
.await
.map_err(|e| anyhow::anyhow!("flow_memory_recall: {e}"))?;
match guard.recall(query, limit, &opts, None).await {
Ok(entries) => Ok(ToolResult::success(render_entries(&entries))),
Err(e) => Ok(ToolResult::error(format!("Flow memory recall failed: {e}"))),
}
}
"flows" => {
let guard = active_memory_guard()
.await
.map_err(|e| anyhow::anyhow!("flow_memory_recall: {e}"))?;
match cross_flow_recall(&guard, query, limit, None).await {
Ok(merged) => Ok(ToolResult::success(render_entries(&merged))),
Err(e) => Ok(ToolResult::error(format!(
"Failed to list flow memory namespaces: {e}"
))),
}
}
other => Ok(ToolResult::error(format!(
"Unknown scope '{other}': expected 'flow' or 'flows'"View on GitHub (pinned to 7491200858)
Solutions
- Inspect the wrapped memory error
- Verify the memory module/provider is available
- Retry the recall once the memory subsystem recovers
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at src/openhuman/flows/memory_tools.rs:340 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/1b6c8c21151b25b4.
Report an issue: GitHub.