mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-30 13:31:12 +00:00
fix(cron): move deliver param before job_id in parameters schema
This commit is contained in:
parent
2e3cb5b20e
commit
5f2157baeb
@ -97,12 +97,12 @@ class CronTool(Tool):
|
|||||||
f"(e.g. '2026-02-12T10:30:00'). Naive values default to {self._default_timezone}."
|
f"(e.g. '2026-02-12T10:30:00'). Naive values default to {self._default_timezone}."
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
"job_id": {"type": "string", "description": "Job ID (for remove)"},
|
|
||||||
"deliver": {
|
"deliver": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether to deliver the execution result to the user channel (default true)",
|
"description": "Whether to deliver the execution result to the user channel (default true)",
|
||||||
"default": True
|
"default": True
|
||||||
},
|
},
|
||||||
|
"job_id": {"type": "string", "description": "Job ID (for remove)"},
|
||||||
},
|
},
|
||||||
"required": ["action"],
|
"required": ["action"],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user