Skip to content

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

fix(config): allow bare provider-kind aliases in reconciliation

Steven Enamakel2ae29af3ba49
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 b87534d864..98cf1d9222 100644
--- a/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs
+++ b/crates/openhuman-core/src/config/migrations/reconcile_orphaned_providers.rs
@@ -108,7 +108,10 @@ pub fn run(config: &mut Config) -> anyhow::Result<MigrationStats> {
|| s.is_empty()
|| s == "cloud"
|| s == PROVIDER_OPENHUMAN
- || tinyinference_local::profile::is_local_provider_string(s)
+ // The owner classifier also accepts bare provider-kind aliases
+ // such as `openai`; persisted workload routes require a model
+ // separator, matching the previous prefix grammar.
+ || (s.contains(':') && tinyinference_local::profile::is_local_provider_string(s))
{
continue;
}