Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Scheduled tasks: say when a skill task pauses or fails before its chat starts

Clauded54c875b2238
diff --git a/src/server/assist/schedules.ts b/src/server/assist/schedules.ts
index bb1c9899..a68364be 100644
--- a/src/server/assist/schedules.ts
+++ b/src/server/assist/schedules.ts
@@ -398,8 +398,8 @@ function prepareSkillRun(task: ScheduleSkill, projectId: string | null): SkillRu
/**
* What starting a run came to: a new chat (`threadId`, with `done` settling when the agent stops),
- * or none and why — `busy` (the run before is still going), `paused` (its project is gone) or
- * `failed` (the chat couldn't be started) — with the text the Scheduled page shows.
+ * or none and why — `busy` (the run before is still going), `paused` (its project or its skill is gone) or
+ * `failed` (the chat couldn't be started, or a skill task's input isn't there yet) — with the text the Scheduled page shows.
*/
export type ScheduleStart = { threadId: string; done: Promise<void> } | { threadId: null; done: Promise<void>; reason: "busy" | "paused" | "failed"; message: string };