Skip to content

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

chore: files changed crates/openhuman-tinyhumans/src/inference/tiers.rs

Steven Enamakel8db55df07cc3
diff --git a/crates/openhuman-tinyhumans/src/inference/tiers.rs b/crates/openhuman-tinyhumans/src/inference/tiers.rs
index b9859aa0e2..09aba533c0 100644
--- a/crates/openhuman-tinyhumans/src/inference/tiers.rs
+++ b/crates/openhuman-tinyhumans/src/inference/tiers.rs
@@ -150,28 +150,26 @@ pub(crate) fn normalize_config(config: &mut Config) -> bool {
"openhuman",
)
{
- {
- let preset = crate::hosted_config::openhuman_preset();
- let id = openhuman_embed::__host::config::schema::cloud_providers::generate_provider_id(
- "openhuman",
- );
- config.cloud_providers.push(
- openhuman_embed::__host::config::schema::cloud_providers::CloudProviderCreds {
- id: id.clone(),
- slug: preset.slug.to_string(),
- label: preset.label.to_string(),
- endpoint: config
- .api_url
- .as_deref()
- .filter(|url| !url.trim().is_empty())
- .unwrap_or(preset.endpoint)
- .to_string(),
- auth_style: preset.auth_style,
- default_model: config.default_model.clone(),
- },
- );
- changed = true;
- }
+ let preset = crate::hosted_config::openhuman_preset();
+ let id = openhuman_embed::__host::config::schema::cloud_providers::generate_provider_id(
+ "openhuman",
+ );
+ config.cloud_providers.push(
+ openhuman_embed::__host::config::schema::cloud_providers::CloudProviderCreds {
+ id: id.clone(),
+ slug: preset.slug.to_string(),
+ label: preset.label.to_string(),
+ endpoint: config
+ .api_url
+ .as_deref()
+ .filter(|url| !url.trim().is_empty())
+ .unwrap_or(preset.endpoint)
+ .to_string(),
+ auth_style: preset.auth_style,
+ default_model: config.default_model.clone(),
+ },
+ );
+ changed = true;
}
if config.primary_cloud.is_none() {