Skip to content

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

chore(config): remove unused search ops

Steven Enamakel350172847261
diff --git a/crates/openhuman-core/src/config/ops/search.rs b/crates/openhuman-core/src/config/ops/search.rs
index a604949dd3..63a6d87d86 100644
--- a/crates/openhuman-core/src/config/ops/search.rs
+++ b/crates/openhuman-core/src/config/ops/search.rs
@@ -373,6 +373,9 @@ pub(crate) fn search_settings_json_with(config: &Config, managed_available: bool
.collect();
json!({
"enabled": search_enabled,
+ "component_disabled": !config.components.search,
+ "component_disabled_reason": (!config.components.search)
+ .then_some("COMPONENT_DISABLED:search (set [components] search = true to enable)"),
"presentation": config.search.presentation.as_str(),
"presentation_provider": config.search.presentation_provider,
"max_results": config.search.max_results,