The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(config): unify AI provider settings migration
Steven Enamakela34cd414fcb9
diff --git a/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings.rs b/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings.rsindex 464caa5528..220cefc3cd 100644--- a/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings.rs+++ b/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings.rs@@ -209,8 +209,7 @@ fn derive_workload_providers(config: &mut Config, stats: &mut MigrationStats) {}};- // Memory summariser workload: the memory-tree backend switch it used to- // follow is gone with memory v1, so it defaults to cloud.+ // Summarisation workload: defaults to cloud.set_field(&mut config.memory_provider, "cloud".to_string(), stats);// Embeddings — uses the embedding_model_id, not chat_model_id.diff --git a/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings_tests.rs b/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings_tests.rsindex 56d9298298..e9b85cd586 100644--- a/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings_tests.rs+++ b/crates/openhuman-core/src/config/migrations/unify_ai_provider_settings_tests.rs@@ -81,8 +81,8 @@ fn openhuman_inference_url_does_not_seed_custom() {fn embeddings_provider_derived_from_legacy_usage() {let mut c = make_legacy_config_local_on();let stats = run(&mut c).expect("migration must succeed");- // memory + embeddings + learning.- assert_eq!(stats.workload_fields_filled, 3);+ // memory + embeddings.+ assert_eq!(stats.workload_fields_filled, 2);assert_eq!(c.embeddings_provider.as_deref(), Some("ollama:bge-m3"));}