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.

Assist: the soundtrack cards say what the whole call does on their first line

Claude585f73d4e25c
diff --git a/src/server/assist/studio-tools.ts b/src/server/assist/studio-tools.ts
index de4c39f5..a16ee5a7 100644
--- a/src/server/assist/studio-tools.ts
+++ b/src/server/assist/studio-tools.ts
@@ -895,6 +895,8 @@ function planSoundtrack(tool: string, name: string, kind: "audio" | "video", bui
}
const jobs = planSteps(tool, p.steps.map((s) => ({ key: s.key, request: s.request, ...(s.after && { after: s.after }), ...(s.chain && { chain: s.chain }) })));
const time = jobs.some((j) => j.demo) ? null : soundtrackTime(p, body);
+ // The card's first line says what the whole call does (the steps' own labels are their notes).
+ if (jobs[0]) jobs[0] = { ...jobs[0], prompt: p.summary };
if (time && jobs[0] && !jobs[0].error) jobs[0] = { ...jobs[0], note: `${jobs[0].note ?? name} · ${time}` };
return jobs;
}