Skip to content

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

fix(config): handle missing model config gracefully

Steven Enamakel427a869f19a1
diff --git a/crates/openhuman-core/src/config/ops/model.rs b/crates/openhuman-core/src/config/ops/model.rs
index 8322a492d8..f483a0872c 100644
--- a/crates/openhuman-core/src/config/ops/model.rs
+++ b/crates/openhuman-core/src/config/ops/model.rs
@@ -245,6 +245,8 @@ pub async fn apply_model_settings(
config.subconscious_provider = normalise_provider(s);
}
+ complete_byok_route(config, &explicit_role_pins);
+
config.save().await.map_err(|e| e.to_string())?;
// #1574 §4: the AIPanel workload matrix changes the embedder via THIS
// (model-settings) path — `embeddings_provider` above — not the