Skip to content

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

chore: files changed crates/openhuman-core/src/cron/tools/update.rs

Steven Enamakel304cfb4f1bd9
diff --git a/crates/openhuman-core/src/cron/tools/update.rs b/crates/openhuman-core/src/cron/tools/update.rs
index 0156a6bb8b..82a6ceb18f 100644
--- a/crates/openhuman-core/src/cron/tools/update.rs
+++ b/crates/openhuman-core/src/cron/tools/update.rs
@@ -119,7 +119,7 @@ impl Tool for CronUpdateTool {
}
let origin = crate::agent::tinyagents::host::run_context::turn_origin_for_tool(tool_context)
- .and_then(crate::cron::origin::current_job_origin);
+ .and_then(|origin| crate::cron::origin::current_job_origin(Some(&origin)));
match cron::store::update_job_with_origin(&self.config, job_id, patch, origin) {
Ok(job) => {
let mut tr = ToolResult::success(serde_json::to_string_pretty(&job)?);