Skip to content

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

fix(cron): export execute_job_now publicly and fix doc links

Steven Enamakelf71d43c0d7a7
diff --git a/crates/openhuman-core/src/cron/scheduler.rs b/crates/openhuman-core/src/cron/scheduler.rs
index 14278988d2..15674c67c4 100644
--- a/crates/openhuman-core/src/cron/scheduler.rs
+++ b/crates/openhuman-core/src/cron/scheduler.rs
@@ -102,7 +102,8 @@ pub async fn run(ctx: &crate::core::runtime::DispatchCtx, config: Config) -> Res
}
}
-pub(crate) use dispatcher::{execute_job_now, tick_once, JobDispatcher};
+pub use dispatcher::execute_job_now;
+pub(crate) use dispatcher::{tick_once, JobDispatcher};
pub use live_agents::run_live_agent_pass;
pub(crate) use live_agents::LiveAgentSchedulers;
pub use manual_run::is_running;
diff --git a/crates/openhuman-core/src/flows/agent_route.rs b/crates/openhuman-core/src/flows/agent_route.rs
index cdb39286e9..89112e3c40 100644
--- a/crates/openhuman-core/src/flows/agent_route.rs
+++ b/crates/openhuman-core/src/flows/agent_route.rs
@@ -2,7 +2,7 @@
use crate::inference::provider::{is_raw_passthrough_model, role_for_model_tier};
-/// Which execution path an `agent_ref` routes to (see [`OpenHumanAgentRunner`]).
+/// Which execution path an `agent_ref` routes to (see [`crate::flows::tinyflows::caps::OpenHumanAgentRunner`]).
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub(crate) enum AgentRoute {
/// A host-registered agent (`agent::host_agents`) — run the full agent
@@ -45,7 +45,7 @@ pub(crate) fn route_for_agent_ref(agent_ref: &str) -> AgentRoute {
/// the session builder's generic `chat` role — which inherits
/// `config.default_model` — to `make_openhuman_backend`, which forwards non-tier
/// ids to the backend unchanged. Mirrors the per-node routing
-/// [`OpenHumanLlm::complete`] applies via `agent_prompt::resolve_completion_model`.
+/// [`crate::flows::tinyflows::caps::OpenHumanLlm::complete`] applies via `agent_prompt::resolve_completion_model`.
pub(crate) fn harness_model_default_override(node_model: &str) -> String {
if is_raw_passthrough_model(node_model) {
return node_model.to_string();