{"record":{"id":"1b6c8c21151b25b4","repo":"tinyhumansai/openhuman","slug":"flow-memory-recall-e","errorCode":null,"errorMessage":"flow_memory_recall: {e}","messagePattern":"flow_memory_recall: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/flows/memory_tools.rs","lineNumber":340,"sourceCode":"        let flow_id = flow_id.as_str();\n        let scope = args.get(\"scope\").and_then(|v| v.as_str()).unwrap_or(\"flow\");\n\n        #[allow(clippy::cast_possible_truncation)]\n        let limit = args\n            .get(\"limit\")\n            .and_then(serde_json::Value::as_u64)\n            .map_or(5, |v| v as usize);\n\n        match scope {\n            \"flow\" => {\n                let namespace = flow_namespace(flow_id);\n                let opts = OwnedRecallOpts {\n                    namespace: Some(namespace.clone()),\n                    ..Default::default()\n                };\n                let guard = active_memory_guard()\n                    .await\n                    .map_err(|e| anyhow::anyhow!(\"flow_memory_recall: {e}\"))?;\n                match guard.recall(query, limit, &opts, None).await {\n                    Ok(entries) => Ok(ToolResult::success(render_entries(&entries))),\n                    Err(e) => Ok(ToolResult::error(format!(\"Flow memory recall failed: {e}\"))),\n                }\n            }\n            \"flows\" => {\n                let guard = active_memory_guard()\n                    .await\n                    .map_err(|e| anyhow::anyhow!(\"flow_memory_recall: {e}\"))?;\n                match cross_flow_recall(&guard, query, limit, None).await {\n                    Ok(merged) => Ok(ToolResult::success(render_entries(&merged))),\n                    Err(e) => Ok(ToolResult::error(format!(\n                        \"Failed to list flow memory namespaces: {e}\"\n                    ))),\n                }\n            }\n            other => Ok(ToolResult::error(format!(\n                \"Unknown scope '{other}': expected 'flow' or 'flows'\"","sourceCodeStart":322,"sourceCodeEnd":358,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/flows/memory_tools.rs#L322-L358","documentation":"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.","triggerScenarios":"Thrown at src/openhuman/flows/memory_tools.rs:340 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped memory error","Verify the memory module/provider is available","Retry the recall once the memory subsystem recovers"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}