Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(config): handle missing embedding provider in legacy migration

Steven Enamakelaeab67571141
diff --git a/crates/openhuman-core/src/config/migrations/migrate_legacy_embedding_provider.rs b/crates/openhuman-core/src/config/migrations/migrate_legacy_embedding_provider.rs
index 742ee68d4f..cb53910fd2 100644
--- a/crates/openhuman-core/src/config/migrations/migrate_legacy_embedding_provider.rs
+++ b/crates/openhuman-core/src/config/migrations/migrate_legacy_embedding_provider.rs
@@ -119,7 +119,7 @@ pub fn run(config: &mut Config, prefer_local: bool) -> anyhow::Result<MigrationS
return Ok(stats);
}
- // Both targets are 1024-dim ;
+ // Both targets are 1024-dim;
// the legacy 384-dim BGE values are incompatible with either, so stored
// vectors re-embed lazily via backfill regardless of which target we pick.
let (provider, model, dimensions) = if prefer_local {