mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 02:32:56 +00:00
fix(cron): enable completion direct send for text-only announce delivery (#29151)
This commit is contained in:
committed by
GitHub
parent
fe9a7c4082
commit
3096837238
@@ -309,6 +309,10 @@ export async function dispatchCronDelivery(
|
||||
timeoutMs: params.timeoutMs,
|
||||
cleanup: params.job.deleteAfterRun ? "delete" : "keep",
|
||||
roundOneReply: synthesizedText,
|
||||
// Cron output is a finished completion message: send it directly to the
|
||||
// target channel via the completion-direct-send path rather than injecting
|
||||
// a trigger message into the (likely idle) main agent session.
|
||||
expectsCompletionMessage: true,
|
||||
// Keep delivery outcome truthful for cron state: if outbound send fails,
|
||||
// announce flow must report false so caller can apply best-effort policy.
|
||||
bestEffortDeliver: false,
|
||||
|
||||
Reference in New Issue
Block a user