tinyhumansai/openhuman · error
embedding route "{}" has empty model
Error message
embedding route "{}" has empty model What it means
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.
Source
Thrown at src/openhuman/platform/doctor/core.rs:289
}
}
// Embedding routes validation
for route in &config.embedding_routes {
if route.hint.trim().is_empty() {
items.push(DiagnosticItem::warn(cat, "embedding route with empty hint"));
}
if let Some(reason) = embedding_provider_validation_error(&route.provider) {
items.push(DiagnosticItem::warn(
cat,
format!(
"embedding route \"{}\" uses invalid provider \"{}\": {}",
route.hint, route.provider, reason
),
));
}
if route.model.trim().is_empty() {
items.push(DiagnosticItem::warn(
cat,
format!("embedding route \"{}\" has empty model", route.hint),
));
}
if route.dimensions.is_some_and(|value| value == 0) {
items.push(DiagnosticItem::warn(
cat,
format!(
"embedding route \"{}\" has invalid dimensions=0",
route.hint
),
));
}
}
if let Some(hint) = config
.memory
.embedding_modelView on GitHub (pinned to 7491200858)
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
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/platform/doctor/core.rs:289 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/4d1704d338f5a6af.
Report an issue: GitHub.