fix(cron): add schedule to required array in CRONJOB_SCHEMA - #33980
fix(cron): add schedule to required array in CRONJOB_SCHEMA#33980jinnkhan88 wants to merge 1 commit into
Conversation
Grok models ignore prose descriptions and only respect the machine-readable required field. The prior fix (5101326) clarified the description text but did not add schedule to required[], so grok-4.3 still omits it on action=create. Fixes NousResearch#32427
|
Closing — conflicts with a deliberate prior design decision. PR #32448 (commit
The trade-off you'd be making:
The honest answer to "when would we ever want to say schedule is required for A productive follow-up would be: empirically test which prose forms Grok actually respects — e.g. moving the conditional-required hint earlier in the Closing without prejudice — thanks for engaging with a real bug. If you want to revisit with a prose-only tightening, happy to look at that. |
Grok models ignore prose descriptions and only respect the machine-readable required field in JSON Schema. The prior fix (5101326) clarified the description text but did not add schedule to required[], so grok-4.3 still omits it on action=create, causing an infinite loop of "schedule is required for create" errors.
Fix: Add "schedule" to the required array. Safe because the handler only checks schedule for action=create and ignores it for other actions.
Fixes #32427