Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Description
The cron tool in OpenClaw corrupts model IDs by inserting spaces when saving cron jobs. This causes all cron jobs to fail with "model not found" errors.
Steps to Reproduce
- Create a cron job with any model (e.g.,
custom-1/minimax/minimax-2.5-free)
- The tool saves it with spaces:
custom-1/ minimax/ minimax- m2.5- free
- When the job runs, OpenRouter rejects the invalid model ID
Expected Behavior
Model IDs should be saved exactly as provided without modification.
Actual Behavior
Spaces are inserted into model IDs at path separators:
- Input:
custom-1/minimax/minimax-2.5- free
- Saved:
custom-1/ minimax/ minimax- m2.5- free
Error Message
Steps to reproduce
Affected Jobs (17 total)
All jobs with MiniMax models fail. Example job IDs:
- 7d9d17c8 (Morning Briefing)
- 0fcf7d5b (Midday Check-in)
- 62a44735 (Evening Check-in)
- d51fcd85 (Process Improvement)
- 505be948 (Daily Usage Report)
- b9d9aad9 (Weekly Habit Review)
- cd57aae5 (Customer Intel Scan)
Environment
- OpenClaw 2026.4.8
- Provider: OpenRouter (custom-1)
- Models: minimax/ minimax- m2.5, minimax/ minimax- m2.5- free
- OS: Linux
Workaround
None - cannot update/delete jobs due to same bug in the tool.
Expected behavior
the crons are not working
Actual behavior
"lastError": "FallbackSummaryError: All models failed (3):
custom-1/minimax/minimax-m2.5-free: 400 minimax/minimax-m2.5-free is not a valid model ID (format)
| anthropic/claude-haiku-4-5: No API key found for provider "anthropic".
| google/gemini-2.5-flash: No API key found for provider "google"."
Evidence:
Model ID corruption in job list:
Input model: custom-1/minimax/minimax- m2.5- free
Saved model: custom-1/ minimax/ minimax- m2.5- free (spaces inserted)
OpenRouter rejects the corrupted ID:
Error: 400 ... is not a valid model ID (format)
Cannot fix jobs - update/delete operations fail with "unknown cron job id" (tool bug prevents corrections)
Working sessions - Direct chat works fine (model: minimax/ minimax- m2.5), proving the model itself is valid and provider key works.
Root cause: The cron tool inserts spaces into model IDs when persisting jobs, making them invalid.
OpenClaw version
Version v2026.4.8
Operating system
ubuntu 24
Install method
docker
Model
am using openrouter
Provider / routing chain
You → Webchat/Telegram → OpenClaw Gateway → Model Provider (OpenRouter) → AI Model (MiniMax)
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Cron job "Daily Usage Report" failed: FallbackSummaryError: All models failed (3): custom-1/minimax/minimax-m2.5-free: 400 minimax/minimax-m2.5-free is not a valid model ID (format) | anthropic/claude-haiku-4-5: No API key found for provider "anthropic". Auth store: /data/.openclaw/agents/main/agent/auth-profiles.json (agentDir: /data/.openclaw/agents/main/agent). Configure auth for this agent (openclaw agents add <id>) or copy auth-profiles.json from the main agentDir. (auth) | google/gemini-2.5-flash: No API key found for provider "google". Auth store: /data/.openclaw/agents/main/agent/auth-profiles.json (agentDir: /data/.openclaw/agents/main/agent). Configure auth for this agent (openclaw agents add <id>) or copy auth-profiles.json from the main agentDir. (auth)
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Description
The cron tool in OpenClaw corrupts model IDs by inserting spaces when saving cron jobs. This causes all cron jobs to fail with "model not found" errors.
Steps to Reproduce
custom-1/minimax/minimax-2.5-free)custom-1/ minimax/ minimax- m2.5- freeExpected Behavior
Model IDs should be saved exactly as provided without modification.
Actual Behavior
Spaces are inserted into model IDs at path separators:
custom-1/minimax/minimax-2.5- freecustom-1/ minimax/ minimax- m2.5- freeError Message
Steps to reproduce
Affected Jobs (17 total)
All jobs with MiniMax models fail. Example job IDs:
Environment
Workaround
None - cannot update/delete jobs due to same bug in the tool.
Expected behavior
the crons are not working
Actual behavior
"lastError": "FallbackSummaryError: All models failed (3):
custom-1/minimax/minimax-m2.5-free: 400 minimax/minimax-m2.5-free is not a valid model ID (format)
| anthropic/claude-haiku-4-5: No API key found for provider "anthropic".
| google/gemini-2.5-flash: No API key found for provider "google"."
Evidence:
Model ID corruption in job list:
Input model: custom-1/minimax/minimax- m2.5- free
Saved model: custom-1/ minimax/ minimax- m2.5- free (spaces inserted)
OpenRouter rejects the corrupted ID:
Error: 400 ... is not a valid model ID (format)
Cannot fix jobs - update/delete operations fail with "unknown cron job id" (tool bug prevents corrections)
Working sessions - Direct chat works fine (model: minimax/ minimax- m2.5), proving the model itself is valid and provider key works.
Root cause: The cron tool inserts spaces into model IDs when persisting jobs, making them invalid.
OpenClaw version
Version v2026.4.8
Operating system
ubuntu 24
Install method
docker
Model
am using openrouter
Provider / routing chain
You → Webchat/Telegram → OpenClaw Gateway → Model Provider (OpenRouter) → AI Model (MiniMax)
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response