Skip to content

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

refactor(config): drop redundant struct update syntax in provider seeding

Steven Enamakel244c9f882301
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.rs
index fca31dc045..8c0c51893f 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
@@ -111,7 +111,6 @@ pub(super) fn seed_cloud_providers(config: &mut Config, stats: &mut MigrationSta
endpoint: oh_endpoint,
auth_style: AuthStyle::OpenhumanJwt,
default_model: Some(oh_default_model),
- ..Default::default()
});
stats.cloud_providers_seeded += 1;
@@ -139,7 +138,6 @@ pub(super) fn seed_cloud_providers(config: &mut Config, stats: &mut MigrationSta
endpoint: trimmed.to_string(),
auth_style: AuthStyle::Bearer,
default_model,
- ..Default::default()
});
stats.cloud_providers_seeded += 1;
log::info!(