Skip to content

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

refactor(doctor): remove agent model emptiness check

Steven Enamakel26d572c026cb
diff --git a/crates/openhuman-core/src/platform/doctor/core/config_checks.rs b/crates/openhuman-core/src/platform/doctor/core/config_checks.rs
index fb8dc73e1b..cf768feb6e 100644
--- a/crates/openhuman-core/src/platform/doctor/core/config_checks.rs
+++ b/crates/openhuman-core/src/platform/doctor/core/config_checks.rs
@@ -185,18 +185,6 @@ pub(super) fn check_config_semantics(config: &Config, items: &mut Vec<Diagnostic
));
}
- // Delegate agents
- let mut agent_names: Vec<_> = config.agents.keys().collect();
- agent_names.sort();
- for name in agent_names {
- let agent = config.agents.get(name).unwrap();
- if agent.model.trim().is_empty() {
- items.push(DiagnosticItem::warn(
- cat,
- format!("delegate agent \"{name}\" has empty model"),
- ));
- }
- }
}
pub(super) fn embedding_provider_validation_error(name: &str) -> Option<String> {
diff --git a/crates/openhuman-core/src/profiles/capabilities.rs b/crates/openhuman-core/src/profiles/capabilities.rs
index d1b80c50c0..7ee7587a73 100644
--- a/crates/openhuman-core/src/profiles/capabilities.rs
+++ b/crates/openhuman-core/src/profiles/capabilities.rs
@@ -182,7 +182,6 @@ impl ProfileCapabilities {
&config.browser,
&config.http_request,
&config.action_dir,
- &config.agents,
config,
)
});