You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/automation/cron-jobs.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,9 @@ If stdout is non-empty, that text is the delivered result. If stdout is empty an
157
157
<ParamFieldpath="--model"type="string">
158
158
Model override; uses the selected allowed model for the job.
159
159
</ParamField>
160
+
<ParamFieldpath="--clear-model"type="boolean">
161
+
On `cron edit`, removes the per-job model override so the job follows normal cron model-selection precedence (a stored cron-session override if set, otherwise the agent/default model). Cannot be combined with `--model`.
162
+
</ParamField>
160
163
<ParamFieldpath="--thinking"type="string">
161
164
Thinking level override.
162
165
</ParamField>
@@ -471,6 +474,7 @@ Model override note:
471
474
- If the model is allowed, that exact provider/model reaches the isolated agent run.
472
475
- If it is not allowed or cannot be resolved, cron fails the run with an explicit validation error.
473
476
- API `cron.update` payload patches can set `model: null` to clear a stored job model override.
477
+
-`openclaw cron edit <job-id> --clear-model` clears that override from the CLI (same effect as the `model: null` patch) and cannot be combined with `--model`.
474
478
- Configured fallback chains still apply because cron `--model` is a job primary, not a session `/model` override.
475
479
- Payload `fallbacks` replaces configured fallbacks for that job; `fallbacks: []` disables fallback and makes the run strict.
476
480
- A plain `--model` with no explicit or configured fallback list does not fall through to the agent primary as a silent extra retry target.
Copy file name to clipboardExpand all lines: docs/cli/cron.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Use `--due` when you want the manual command to run only if the job is currently
168
168
169
169
## Models
170
170
171
-
`cron add|edit --model <ref>` selects an allowed model for the job.
171
+
`cron add|edit --model <ref>` selects an allowed model for the job.`cron edit <job-id> --clear-model` removes the per-job model override so the job follows normal cron model-selection precedence (a stored cron-session override if present, otherwise the agent/default model); it cannot be combined with `--model`.
172
172
173
173
<Warning>
174
174
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.
0 commit comments