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
fix(cron): handle missing agent run gracefully
Steven Enamakel821c0d5d256a
diff --git a/crates/openhuman-core/src/cron/scheduler/agent_run.rs b/crates/openhuman-core/src/cron/scheduler/agent_run.rsindex c6e1d399e7..0ac697f77d 100644--- a/crates/openhuman-core/src/cron/scheduler/agent_run.rs+++ b/crates/openhuman-core/src/cron/scheduler/agent_run.rs@@ -246,6 +246,19 @@ pub(super) fn start_cron_turn_clean(agent: &mut OpenHumanSessionHost) {});}+/// Keep a scheduled turn from auto-resuming another session's transcript.+///+/// Mirrors `flows::ops::builder::start_builder_turn_clean`: an unthreaded+/// session's first turn otherwise resumes the newest transcript on disk for+/// the agent name, whatever conversation that was.+pub(super) fn start_cron_turn_clean(agent: &mut OpenHumanSessionHost) {+ tracing::debug!("[cron] suppressing transcript autoload for scheduled turn");+ agent.set_next_turn_overrides(crate::agent::session_host::TurnOverrides {+ suppress_transcript_autoload: true,+ ..Default::default()+ });+}+pub(super) struct BuiltCronAgent {pub(crate) agent: OpenHumanSessionHost,}