Skip to content

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

fix(web_chat): export pick_target_agent_id in all builds

Steven Enamakeld9360f023c4b
diff --git a/crates/openhuman-core/src/web_chat/mod.rs b/crates/openhuman-core/src/web_chat/mod.rs
index 0900535bef..dba4f957f0 100644
--- a/crates/openhuman-core/src/web_chat/mod.rs
+++ b/crates/openhuman-core/src/web_chat/mod.rs
@@ -104,11 +104,12 @@ pub(crate) use progress_bridge::spawn_progress_bridge;
pub(crate) use schemas::{
json_output, optional_bool, optional_f64, optional_string, optional_u64, required_string,
};
+// The cron scheduler routes origin deliveries through this in every build.
+pub(crate) use session::pick_target_agent_id;
#[cfg(any(test, debug_assertions))]
#[allow(unused_imports)]
pub(crate) use session::{
- locale_reply_directive, normalize_model_override, pick_target_agent_id,
- provider_role_for_model_override,
+ locale_reply_directive, normalize_model_override, provider_role_for_model_override,
};
#[cfg(any(test, debug_assertions))]
#[allow(unused_imports)]