{"record":{"id":"d5afae7965675d5d","repo":"tinyhumansai/openhuman","slug":"missing-value-for-fill","errorCode":null,"errorMessage":"Missing 'value' for fill","messagePattern":"Missing 'value' for fill","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/action_parser.rs","lineNumber":48,"sourceCode":"        }),\n        \"click\" => {\n            let selector = args\n                .get(\"selector\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for click\"))?;\n            Ok(BrowserAction::Click {\n                selector: selector.into(),\n            })\n        }\n        \"fill\" => {\n            let selector = args\n                .get(\"selector\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for fill\"))?;\n            let value = args\n                .get(\"value\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'value' for fill\"))?;\n            Ok(BrowserAction::Fill {\n                selector: selector.into(),\n                value: value.into(),\n            })\n        }\n        \"type\" => {\n            let selector = args\n                .get(\"selector\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for type\"))?;\n            let text = args\n                .get(\"text\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'text' for type\"))?;\n            Ok(BrowserAction::Type {\n                selector: selector.into(),\n                text: text.into(),\n            })","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/action_parser.rs#L30-L66","documentation":"Action-argument validation in parse_browser_action: the `fill` action was requested and its `selector` parsed, but the required `value` (the text to fill) is absent or not a string. Fires before any browser automation runs.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/action_parser.rs:48 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Include `value` as the string to fill into the element","Pass an empty string explicitly if clearing the field is intended"],"exampleFix":null,"handlingStrategy":"validation","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"}