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.

Recipes test: the fake Ollama lists its models

Claude0d20afbd9ed0
diff --git a/tests/recipes.test.ts b/tests/recipes.test.ts
index f2c0907c..768f6e43 100644
--- a/tests/recipes.test.ts
+++ b/tests/recipes.test.ts
@@ -377,6 +377,8 @@ describe("checking a recipe", () => {
req.on("end", () => {
res.setHeader("Content-Type", "application/json");
if (req.url === "/api/show") return res.end(JSON.stringify({ capabilities: vision ? ["completion", "vision"] : ["completion"] }));
+ // The local-model layer (src/server/llm) finds a running Ollama by its model list before it calls it.
+ if (req.url === "/api/tags") return res.end(JSON.stringify({ models: [{ name: "qwen3-vl:8b" }] }));
if (req.url === "/api/chat") {
asked++;
return res.end(JSON.stringify({ message: { content: "No — a grey square, no one at a wheel." } }));