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(config): remove agent model delegate rewriting
Steven Enamakelc1235b34d325
diff --git a/crates/openhuman-core/src/config/migrations/retire_managed_tier_slugs.rs b/crates/openhuman-core/src/config/migrations/retire_managed_tier_slugs.rsindex a14cbe9f9c..d8dc8b6eec 100644--- a/crates/openhuman-core/src/config/migrations/retire_managed_tier_slugs.rs+++ b/crates/openhuman-core/src/config/migrations/retire_managed_tier_slugs.rs@@ -7,8 +7,8 @@//! (or an older build) could have written one is rewritten://!//! - `default_model` — any tier slug becomes [`MODEL_MANAGED_DEFAULT`].-//! - `orchestrator.model`, every `teams.<name>.{lead,agent}_model` and each-//! `agents.<id>.model` delegate pin — tier slugs become the managed default+//! - `orchestrator.model` and every `teams.<name>.{lead,agent}_model` pin — tier+//! slugs become the managed default//! too; a slug that was pinning a *role* (`reasoning-v1` on a lead)//! loses nothing, since on the managed backend every role now runs the same//! model.@@ -69,13 +69,6 @@ pub fn run(config: &mut Config) -> anyhow::Result<MigrationStats> {&mut stats,);}- for (id, delegate) in config.agents.iter_mut() {- rewrite(- &format!("agents.{id}.model"),- &mut delegate.model,- &mut stats,- );- }for route in config.model_routes.iter_mut() {rewrite(&format!("model_routes[{}].model", route.hint),