The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(dashboard): cron create accepts timezone/grace_minutes
Tekniumc70876b9fe8f
diff --git a/hermes_cli/web_models.py b/hermes_cli/web_models.pyindex 2e938bb6597..b2b395cf978 100644--- a/hermes_cli/web_models.py+++ b/hermes_cli/web_models.py@@ -343,6 +343,9 @@ class CronJobCreate(BaseModel):enabled_toolsets: Optional[list[str]] = Noneworkdir: Optional[str] = Noneno_agent: bool = False+ # Validated in cron.jobs.create_job (unknown IANA zone / out-of-range grace -> 400).+ timezone: Optional[str] = None+ grace_minutes: Optional[int | str] = Noneclass CronJobUpdate(BaseModel):updates: dictdiff --git a/hermes_cli/web_server_cron.py b/hermes_cli/web_server_cron.pyindex 761693b5d8e..b4f1047cc74 100644--- a/hermes_cli/web_server_cron.py+++ b/hermes_cli/web_server_cron.py@@ -279,6 +279,8 @@ def _create_cron_job_sync(body: CronJobCreate, profile: Optional[str] = None):enabled_toolsets=_cron_string_list(body.enabled_toolsets),workdir=_cron_optional_text(body.workdir),no_agent=no_agent,+ timezone=_cron_optional_text(body.timezone),+ grace_minutes=body.grace_minutes,**{key: getattr(body, key) for key in ("paused", "paused_reason")if key in body.model_fields_set})except HTTPException: