fix(schedules): cron sample for schema test, lint cleanups
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4d4c023fed
commit
5843527317
4 files changed
+4
-2
No files matched your search
@@ -93,7 +93,7 @@ export function AgentCheckDialog({
|
||||
|
||||
const submit = () => {
|
||||
const e: Record<string, string> = {};
|
||||
if ((!job || !job.builtin) && !d.name.trim()) e.name = "名称不能为空";
|
||||
if (!job?.builtin && !d.name.trim()) e.name = "名称不能为空";
|
||||
const everyMs = Math.round(Number(d.every) * UNIT_MS[d.unit]);
|
||||
if (!cronJob && (!Number.isFinite(everyMs) || everyMs < MIN_INTERVAL_MS)) e.every = "填正数";
|
||||
const tools = Number(d.maxToolCalls);
|
||||
|
||||
Reference in new issue
Block a user