Skip to content

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

fix(config): invert tier check and update warning message

Steven Enamakel1509d87060bf
diff --git a/crates/openhuman-core/src/config/ops/model.rs b/crates/openhuman-core/src/config/ops/model.rs
index 5b9a0f66cb..8322a492d8 100644
--- a/crates/openhuman-core/src/config/ops/model.rs
+++ b/crates/openhuman-core/src/config/ops/model.rs
@@ -134,10 +134,10 @@ pub async fn apply_model_settings(
Some(trimmed.to_string())
};
if let Some(ref m) = config.default_model {
- if !crate::inference::provider::factory::is_known_openhuman_tier(m) {
+ if crate::inference::provider::factory::is_known_openhuman_tier(m) {
log::warn!(
- "[config][model-settings] default_model '{}' is not a recognized \
- OpenHuman backend tier — it will be replaced with the platform \
+ "[config][model-settings] default_model '{}' is a retired tier slug or \
+ role hint, not a catalog model — managed turns run on the platform \
default at inference time.",
m
);