From 71a86037f90c7ca3862eafced806e18c6fafd4a0 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Tue, 28 Apr 2026 03:15:52 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@343f2d7245933a249716f550ecdd1c25ce56a13b --- .openclaw-sync/source.json | 4 ++-- docs/automation/cron-jobs.md | 4 ++-- docs/cli/cron.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 1a5b95c4f..5be2d1ac9 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "00e30ba8d90f5398f11688bef3e317ef15b0cf90", - "syncedAt": "2026-04-28T03:13:34.985Z" + "sha": "343f2d7245933a249716f550ecdd1c25ce56a13b", + "syncedAt": "2026-04-28T03:14:07.669Z" } diff --git a/docs/automation/cron-jobs.md b/docs/automation/cron-jobs.md index b93335eec..03d007de2 100644 --- a/docs/automation/cron-jobs.md +++ b/docs/automation/cron-jobs.md @@ -129,7 +129,7 @@ This fires ~5–6 times per month instead of 0–1 times per month. OpenClaw use Restrict which tools the job can use, for example `--tools exec,read`. -`--model` uses the selected allowed model as that job's primary model. It is not the same as a chat-session `/model` override: configured fallback chains still apply when the job primary fails. If the requested model is not allowed, cron logs a warning and falls back to the job's agent/default model selection instead. +`--model` uses the selected allowed model as that job's primary model. It is not the same as a chat-session `/model` override: configured fallback chains still apply when the job primary fails. If the requested model is not allowed or cannot be resolved, cron fails the run with an explicit validation error instead of silently falling back to the job's agent/default model selection. Cron jobs can also carry payload-level `fallbacks`. When present, that list replaces the configured fallback chain for the job. Use `fallbacks: []` in the job payload/API when you want a strict cron run that tries only the selected model. If a job has `--model` but neither payload nor configured fallbacks, OpenClaw passes an explicit empty fallback override so the agent primary is not appended as a hidden extra retry target. @@ -378,7 +378,7 @@ Model override note: - `openclaw cron add|edit --model ...` changes the job's selected model. - If the model is allowed, that exact provider/model reaches the isolated agent run. -- If it is not allowed, cron warns and falls back to the job's agent/default model selection. +- If it is not allowed or cannot be resolved, cron fails the run with an explicit validation error. - Configured fallback chains still apply because cron `--model` is a job primary, not a session `/model` override. - Payload `fallbacks` replaces configured fallbacks for that job; `fallbacks: []` disables fallback and makes the run strict. - A plain `--model` with no explicit or configured fallback list does not fall through to the agent primary as a silent extra retry target. diff --git a/docs/cli/cron.md b/docs/cli/cron.md index 75a837ca7..8a01f2a04 100644 --- a/docs/cli/cron.md +++ b/docs/cli/cron.md @@ -100,7 +100,7 @@ Note: cron job definitions live in `jobs.json`, while pending runtime state live `cron add|edit --model ` selects an allowed model for the job. -If the model is not allowed, cron warns and falls back to the job's agent or default model selection. +If the model is not allowed or cannot be resolved, cron fails the run with an explicit validation error instead of falling back to the job's agent or default model selection. Cron `--model` is a **job primary**, not a chat-session `/model` override. That means: