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.

Originals O13: an Evolution run that can't start is refused before the direction writer is asked

Claude4b3c5f110d1c
diff --git a/src/server/evolution.ts b/src/server/evolution.ts
index 5081d5e0..26646753 100644
--- a/src/server/evolution.ts
+++ b/src/server/evolution.ts
@@ -261,6 +261,8 @@ export async function createEvolution(body: z.infer<typeof EvolutionBodySchema>)
const info = await probeSource(body.source.url);
let direction = body.direction?.trim() ?? "";
let by: DirectionAnswer["by"] | "you" = "you";
+ // Refused before the writer is asked (a clip too short, too many references).
+ if (!direction) planInput(body, info, "the same scene", true);
if (!direction) {
const written = await writeDirection({ engine: body.engine, intensity: body.intensity, idea: body.idea, references: body.references, seconds: info.duration ?? body.source.duration });
direction = written.direction;