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.

Merge branch 'r4/ui-cleanup' into claude/fuobe-parity-4

Claude5021f399642b
diff --cc src/lib/api.ts
index 33c8c338,c3ab473f..b2042884
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@@ -394,6 -443,22 +443,22 @@@ export function useGenerations(filter:
});
}
-const RUNNING: FeedFilter = { statuses: ["queued", "running"], limit: 100 };
++const RUNNING: FeedFilter = { statuses: ["queued", "running"], steps: true, limit: 100 };
+
+ /**
+ * Everything queued or running, anywhere (the tab title's job count). The live stream keeps it
+ * current (a job that finishes leaves the list); polling is only a slow safety net.
+ */
+ export function useRunningGenerations() {
+ const connected = useGenerationStream();
+ return useQuery({
+ queryKey: feedKey(RUNNING),
+ queryFn: async () => (await json<{ items: Generation[] }>(await fetch(`/api/generations?${filterToSearch(RUNNING)}`))).items,
+ structuralSharing: shareById,
+ refetchInterval: (q) => (q.state.data?.length ? (connected ? 30_000 : 5000) : false),
+ });
+ }
+
export const LIBRARY_PAGE = 60;
/** The Library's paged list ("Load more" pages back with the before cursor). */
diff --cc src/lib/catalog/models.ts
index 42518276,a184b533..09929872
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@@ -1,6 -1,6 +1,7 @@@
import { CLOUD_MODELS } from "./cloud-models.generated";
import { HIGGSFIELD_MODELS, HIGGSFIELD_ROUTES } from "./higgsfield-models.generated";
+import { pricingAt } from "./plan";
+ import { ASR_LANGUAGES, WHISPER_LANGUAGES } from "../speech-languages";
import { LAST_FRAME_CHAIN, type ModelDef, type ModelRoute, type Operation } from "./types";
/*