{"record":{"id":"4d1704d338f5a6af","repo":"tinyhumansai/openhuman","slug":"embedding-route-has-empty-model","errorCode":null,"errorMessage":"embedding route \"{}\" has empty model","messagePattern":"embedding route \"(.+?)\" has empty model","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/platform/doctor/core.rs","lineNumber":289,"sourceCode":"        }\n    }\n\n    // Embedding routes validation\n    for route in &config.embedding_routes {\n        if route.hint.trim().is_empty() {\n            items.push(DiagnosticItem::warn(cat, \"embedding route with empty hint\"));\n        }\n        if let Some(reason) = embedding_provider_validation_error(&route.provider) {\n            items.push(DiagnosticItem::warn(\n                cat,\n                format!(\n                    \"embedding route \\\"{}\\\" uses invalid provider \\\"{}\\\": {}\",\n                    route.hint, route.provider, reason\n                ),\n            ));\n        }\n        if route.model.trim().is_empty() {\n            items.push(DiagnosticItem::warn(\n                cat,\n                format!(\"embedding route \\\"{}\\\" has empty model\", route.hint),\n            ));\n        }\n        if route.dimensions.is_some_and(|value| value == 0) {\n            items.push(DiagnosticItem::warn(\n                cat,\n                format!(\n                    \"embedding route \\\"{}\\\" has invalid dimensions=0\",\n                    route.hint\n                ),\n            ));\n        }\n    }\n\n    if let Some(hint) = config\n        .memory\n        .embedding_model","sourceCodeStart":271,"sourceCodeEnd":307,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/platform/doctor/core.rs#L271-L307","documentation":"Doctor warning from the embedding_routes loop: the entry's `provider` field failed embedding_provider_validation_error — it names a provider the doctor does not recognise as a valid embedding provider. The interpolated values are the route's hint and the offending provider string with the specific reason. An invalid provider means embeddings for that route cannot be served even if the model id is correct.","triggerScenarios":"Thrown at src/openhuman/platform/doctor/core.rs:289 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set `provider` to a supported embedding provider (e.g. \"openai\" or the local \"ollama\" path) on the named entry","Check for trailing whitespace, casing, or a provider name from an older config schema","Confirm the provider's credentials/section exists in config so it is actually usable"],"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"}