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.

Round-4 merge: an isolated model's input clip uploads to its own worker; tests meet the quiet Uploading blocker and the new Models-page models

Claude3282e3d40aa3
diff --git a/src/server/generations.ts b/src/server/generations.ts
index 3bfdbeda..48eb52f1 100644
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@ -738,7 +738,7 @@ async function submit(
...(facts.fps ? { sourceFps: facts.fps } : {}),
...(facts.duration ? { sourceDuration: facts.duration } : {}),
};
- return adapter.prepareFile(f.data, f.contentType, f.name);
+ return adapter.prepareFile(f.data, f.contentType, f.name, route);
};
const prepMask = async (ref?: string) => {
if (!ref) return undefined;
diff --git a/tests/assist-studio-routes.test.ts b/tests/assist-studio-routes.test.ts
index fe29bc3c..5df83050 100644
--- a/tests/assist-studio-routes.test.ts
+++ b/tests/assist-studio-routes.test.ts
@@ -479,7 +479,7 @@ describe("Assist chat", () => {
await agent.answerApproval(t.id, true);
await agent.run(t.id, scripted(reply([said("It's in Layers.")], "end_turn")));
const link = agent.getThread(t.id)!.thread.items.find((i) => i.role === "tool" && i.studio);
- expect(link).toMatchObject({ studio: "Layers", href: expect.stringMatching(/^\/layers\/\w+$/) });
+ expect(link).toMatchObject({ studio: "Layers", href: expect.stringMatching(/^\/layers\/[\w-]+$/) });
});
it("a call the studio can't take says why on the card", async () => {
diff --git a/tests/command-palette.test.ts b/tests/command-palette.test.ts
index ea036f11..ea1856e6 100644
--- a/tests/command-palette.test.ts
+++ b/tests/command-palette.test.ts
@@ -143,8 +143,9 @@ describe("palette index", () => {
it("finds the model on the Models page when nothing else runs it", () => {
const fallback = index.models.filter((m) => pathOf(m.href) === "/models");
- // Only models whose studio isn't in this build (or that only run inside chains) are left.
- expect(fallback.length).toBeLessThan(30);
+ // Only models whose studio isn't in this build (or that only run inside chains) are left. Round 4 adds
+ // the Remove object, Genjutsu, FPS Boost / SDR to HDR / Export and 3D scene models (33 here).
+ expect(fallback.length).toBeLessThan(40);
for (const m of fallback) {
const q = new URLSearchParams(m.href.split("?")[1]).get("q");
// The Models search (ModelsTable) matches q against this text.
diff --git a/tests/composer-frames.test.ts b/tests/composer-frames.test.ts
index 504aa0aa..d97dffc9 100644
--- a/tests/composer-frames.test.ts
+++ b/tests/composer-frames.test.ts
@@ -103,7 +103,7 @@ describe("Frames mode in the Video studio composer", () => {
expect(framesUploading(framesOf("a", "b"))).toBe(false);
expect(framesUploading(undefined)).toBe(false);
const base = { model: true, frames: framesBlocker(getModel("flux-3-max")!, fs.length), promptMissing: false };
- expect(blockerFor({ ...base, uploading: framesUploading(fs) })).toEqual({ message: "Uploading…" });
+ expect(blockerFor({ ...base, uploading: framesUploading(fs) })).toEqual({ message: "Uploading…", quiet: true });
// The start frame uploading too: nothing goes until it's in.
const first = [{ value: still("s", { ref: "", uploading: true }), at: 0 }, ...framesOf("b", "c").slice(1)];
expect(blockerFor({ ...base, uploading: framesUploading(first) })?.message).toBe("Uploading…");