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
refactor(inference): improve provider handling in turn model source
Steven Enamakel79c692dbdb11
diff --git a/crates/openhuman-core/src/inference/turn_models.rs b/crates/openhuman-core/src/inference/turn_models.rsindex ea5b35c584..9df6f34fd6 100644--- a/crates/openhuman-core/src/inference/turn_models.rs+++ b/crates/openhuman-core/src/inference/turn_models.rs@@ -649,13 +649,14 @@ impl TurnModelSource {let provider = model.profile().and_then(|profile| profile.provider.as_deref())- .unwrap_or("unknown");+ .unwrap_or("unknown")+ .to_owned();return Ok(crate::attachments::provider::wrap(&ctx,model,cn.config.clone(),&route.model,- provider,+ &provider,));}Err(anyhow::anyhow!("turn model source is missing a model"))