Validate the OpenAI-compatible stream flag before choosing the response mode so string values such as "false" are rejected instead of enabling SSE.
Co-Authored-By: Claude Code <noreply@anthropic.com>
The webui automation path already rejects one-time schedules that are
not in the future, but the agent cron tool silently accepted them: a
past ISO datetime produced an enabled job with next_run_at_ms=None
that never fires and never honors delete_after_run, while the tool
reported success. Reject the request at the tool boundary with an
actionable error instead.
Co-Authored-By: Claude Code <noreply@anthropic.com>