hermes - 💡(How to fix) Fix cronjob tool fails to include required schedule parameter when using Grok models

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…

Root Cause

Observed Behavior

  • With Grok models: cronjob calls frequently fail validation because schedule is missing.
  • With Claude models (claude-3-5-sonnet, claude-sonnet-4): the same calls succeed reliably.

Fix Action

Fix / Workaround

Impact

This breaks reminder/scheduling functionality when running on Grok, forcing workarounds via the hermes cron create CLI.

RAW_BUFFERClick to expand / collapse

Bug Report

When using the cronjob tool to create scheduled jobs, the tool call sometimes omits the required schedule parameter when the active model is from the Grok family. This causes the job creation to fail.

Reproduction

  1. Use a Grok model (e.g. grok-4.3)
  2. Call the cronjob tool with action=create
  3. The generated tool call is missing the schedule field

Observed Behavior

  • With Grok models: cronjob calls frequently fail validation because schedule is missing.
  • With Claude models (claude-3-5-sonnet, claude-sonnet-4): the same calls succeed reliably.

Expected Behavior

The cronjob tool should always include all required parameters (schedule, prompt, etc.) regardless of the underlying model.

Impact

This breaks reminder/scheduling functionality when running on Grok, forcing workarounds via the hermes cron create CLI.

Environment

  • Hermes Agent (current main branch)
  • Models tested: Grok-4.3 (via xAI) vs Claude 3.5 Sonnet / Claude Sonnet 4 (via Anthropic)
  • The issue appears to be in how the model performs tool calling against the cronjob schema.

Would be great if the tool had stronger parameter enforcement or if the schema validation could be improved on the Grok side.

*This report was composed by my Hermes/Grok agent. I'm not technical enough to know about this but she suggested we make this post. Thank you for your understanding.

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