Skip to content

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

fix(cron): tell agents reminders always deliver in the schedule tools

oxoxDevb78b3db5bfcd
diff --git a/crates/openhuman-core/src/cron/tools/add.rs b/crates/openhuman-core/src/cron/tools/add.rs
index 29d16ae965..06080ea2a8 100644
--- a/crates/openhuman-core/src/cron/tools/add.rs
+++ b/crates/openhuman-core/src/cron/tools/add.rs
@@ -47,7 +47,9 @@ impl Tool for CronAddTool {
automatically; do not set `delivery` or copy a reply target for that. Only set \
`delivery` to override it (`proactive` for an in-app notification, `none` for silent). \
A job created with no conversation defaults to `proactive`. In its scheduled run the \
- agent's final reply is what gets delivered; `NO_REPLY` skips the delivery.\n\
+ agent's final reply is what gets delivered. Reminders and recurring messages always \
+ deliver. A conditional check must put its condition and \"otherwise reply NO_REPLY\" \
+ in its `prompt`; only such a job can skip a run.\n\
Agent jobs must be scheduled at least 5 minutes apart; a tighter cron expression or \
every_ms is rejected."
}
diff --git a/crates/openhuman-core/src/cron/tools/collapsed.rs b/crates/openhuman-core/src/cron/tools/collapsed.rs
index 04fcce4c02..9c151cbad8 100644
--- a/crates/openhuman-core/src/cron/tools/collapsed.rs
+++ b/crates/openhuman-core/src/cron/tools/collapsed.rs
@@ -124,7 +124,10 @@ impl Tool for CronTool {
reply back to that conversation automatically; do not set `delivery` \
or copy a reply target for that. Only set `delivery` to override it \
(`proactive` for an in-app notification, `none` for silent). A job \
- created with no conversation defaults to `proactive`."
+ created with no conversation defaults to `proactive`. Reminders and \
+ recurring messages always deliver; a conditional check must put its \
+ condition and \"otherwise reply NO_REPLY\" in its `prompt`, and only \
+ such a job can skip a run."
}
fn parameters_schema(&self) -> Value {
diff --git a/crates/openhuman-core/src/tools/impl/system/schedule.rs b/crates/openhuman-core/src/tools/impl/system/schedule.rs
index 8ba27c032e..6c0e462eed 100644
--- a/crates/openhuman-core/src/tools/impl/system/schedule.rs
+++ b/crates/openhuman-core/src/tools/impl/system/schedule.rs
@@ -33,7 +33,9 @@ impl Tool for ScheduleTool {
"Manage scheduled tasks. Actions: create/add/once/list/get/cancel/remove/pause/resume. \
A task with a `prompt` created inside a conversation replies back into that same \
conversation automatically on every run; no delivery target is needed. In the \
- scheduled run your final reply is what gets delivered (`NO_REPLY` skips it)."
+ scheduled run your final reply is what gets delivered. Reminders and recurring \
+ messages always deliver. A conditional check must put its condition and \
+ \"otherwise reply NO_REPLY\" in its `prompt`; only such a task can skip a run."
}
fn parameters_schema(&self) -> serde_json::Value {