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
chore(config): remove unused enrichers test module
Steven Enamakel9c74e0649fdf
diff --git a/crates/openhuman-core/src/config/enrichers_tests.rs b/crates/openhuman-core/src/config/enrichers_tests.rsindex 47a8465b04..2c8a0db8ac 100644--- a/crates/openhuman-core/src/config/enrichers_tests.rs+++ b/crates/openhuman-core/src/config/enrichers_tests.rs@@ -74,7 +74,7 @@ async fn the_snapshot_loader_runs_registered_enrichers() {async fn an_embedder_config_is_enriched_by_the_context_loader() {register_enricher("test-embedder", fill);let mut config = Config::default();- crate::config::ops::loader_normalize_for_tests(&mut config).await;+ crate::config::ops::normalize_loaded_config(&mut config).await;unregister_enricher("test-embedder");assert_eq!(config.resolved_endpoints.product_identity.as_deref(), Some("demo"));}diff --git a/crates/openhuman-core/src/config/ops/loader.rs b/crates/openhuman-core/src/config/ops/loader.rsindex fdfc784317..6e0c5972eb 100644--- a/crates/openhuman-core/src/config/ops/loader.rs+++ b/crates/openhuman-core/src/config/ops/loader.rs@@ -11,6 +11,8 @@ pub use load::{load_current_or_init, reload_config_from_paths,reload_config_snapshot_with_timeout,};+#[cfg(test)]+pub(crate) use load::normalize_loaded_config;pub(crate) use paths::fallback_workspace_dir;#[cfg(test)]pub(crate) use paths::{active_workspace_marker_path, config_openhuman_dir, default_openhuman_dir};diff --git a/crates/openhuman-core/src/config/ops/loader/load.rs b/crates/openhuman-core/src/config/ops/loader/load.rsindex 3a34bb3ed6..b2f70bce72 100644--- a/crates/openhuman-core/src/config/ops/loader/load.rs+++ b/crates/openhuman-core/src/config/ops/loader/load.rs@@ -194,7 +194,7 @@ pub async fn reload_config_from_paths(}}-async fn normalize_loaded_config(config: &mut Config) {+pub(crate) async fn normalize_loaded_config(config: &mut Config) {// Welcome-agent routing normalization removed (the welcome agent has been// deleted; all chat turns route directly to the orchestrator). The// `chat_onboarding_completed` field is retained only for backward-compatiblediff --git a/crates/openhuman-core/src/config/ops/mod.rs b/crates/openhuman-core/src/config/ops/mod.rsindex 92118b4bf6..5ac4ee107b 100644--- a/crates/openhuman-core/src/config/ops/mod.rs+++ b/crates/openhuman-core/src/config/ops/mod.rs@@ -41,6 +41,8 @@ pub(crate) use loader::{BROWSER_ALLOW_ALL_RPC_ENABLE_ENV,};#[cfg(test)]+pub(crate) use loader::normalize_loaded_config;+#[cfg(test)]pub(crate) use model::resolve_backend_api_url;#[cfg(test)]pub(crate) use std::path::PathBuf;