openclaw - 💡(How to fix) Fix Cron jobs fail with model allowlist rejection after config changes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78297Fetched 2026-05-07 03:38:38
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Timeline (top)
cross-referenced ×2closed ×1commented ×1

Cron jobs fail with "model not in allowlist" errors when the agents.defaults.models tree gets reduced or modified.

Error Message

Error Example

  • Skip execution with a clear error (not silent failure)

Root Cause

The model allowlist is derived from agents.defaults.models keys. When this tree is gutted (see #78296), models that cron jobs are configured to use become invalid.

Code Example

Model "google/gemini-3-pro-preview" is not in the allowed models list
Model "xai/grok-4-fast" is not in the allowed models list
Model "moonshot/kimi-k2.5" is not in the allowed models list
RAW_BUFFERClick to expand / collapse

Summary

Cron jobs fail with "model not in allowlist" errors when the agents.defaults.models tree gets reduced or modified.

Error Example

Model "google/gemini-3-pro-preview" is not in the allowed models list
Model "xai/grok-4-fast" is not in the allowed models list
Model "moonshot/kimi-k2.5" is not in the allowed models list

Root Cause

The model allowlist is derived from agents.defaults.models keys. When this tree is gutted (see #78296), models that cron jobs are configured to use become invalid.

Affected Jobs

Any cron job with a model assignment outside the minimal Anthropic set:

  • Heartbeat jobs using ollama/gemma4:e4b
  • Research jobs using xai/grok-4-fast
  • Content jobs using moonshot/kimi-k2.5
  • Image jobs using google/gemini-3-pro-image-preview

Expected Behavior

  1. Model allowlist should remain stable across restarts
  2. If a model is removed, cron jobs should either:
    • Fall back to a valid model with a warning
    • Skip execution with a clear error (not silent failure)

Current Behavior

Jobs silently fail or skip with cryptic allowlist errors. No automatic recovery or fallback.

Related

  • #78295 (config persistence)
  • #78296 (model tree gutting)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Cron jobs fail with model allowlist rejection after config changes [1 comments, 2 participants]