Skip to content

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

fix(migrations): handle orphaned provider reconciliation

Steven Enamakelee8ef46e56c7
diff --git a/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs b/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs
index 424b1d5b36..666d95e43a 100644
--- a/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs
+++ b/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs
@@ -180,7 +180,7 @@ pub fn run(config: &mut Config) -> anyhow::Result<MigrationStats> {
/// can't enforce this at compile time without a field-reflection macro, and a
/// serde-based count guard doesn't work because the `Option<String>` fields
/// default to `None` and are omitted from the serialized table.
-fn workload_fields(config: &mut Config) -> [(&'static str, &mut Option<String>); 8] {
+fn workload_fields(config: &mut Config) -> [(&'static str, &mut Option<String>); 7] {
[
("chat", &mut config.chat_provider),
("reasoning", &mut config.reasoning_provider),