Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(chat): on a Mac the workflow tools say where workflows work (C60-S5)

purplefbdfe635013a
diff --git a/src/api/mcp/__tests__/workflow-tools.test.ts b/src/api/mcp/__tests__/workflow-tools.test.ts
index 0a4921b1..2bd4163f 100644
--- a/src/api/mcp/__tests__/workflow-tools.test.ts
+++ b/src/api/mcp/__tests__/workflow-tools.test.ts
@@ -359,7 +359,7 @@ describe('a Mac has no ComfyUI to run a workflow on', () => {
await executeWorkflowInspect({ id: 'x' }),
await executeWorkflowInstall({ id: 'x' }, run()),
await executeWorkflowAssign({ workflow: 'a', model: 'b' }, run()),
- ]) expect(r).toMatch(/^ComfyUI workflows are not used on this computer/)
+ ]) expect(r).toMatch(/^Own ComfyUI workflows are not available on a Mac/)
expect(queue()).toHaveLength(0)
} finally {
h.comfy = true
diff --git a/src/api/mcp/workflow-tools.ts b/src/api/mcp/workflow-tools.ts
index 2a449bf0..10974f09 100644
--- a/src/api/mcp/workflow-tools.ts
+++ b/src/api/mcp/workflow-tools.ts
@@ -84,7 +84,8 @@ function errText(e: unknown, max: number): string {
}
/** A Mac renders with MLX and never with ComfyUI (lib/capabilities.ts). */
-const NO_COMFY = 'ComfyUI workflows are not used on this computer: on a Mac, Create renders with MLX, not ComfyUI. Nothing changed.'
+const NO_COMFY = 'Own ComfyUI workflows are not available on a Mac: there Create renders with Apple MLX and never uses ComfyUI, '
+ + 'so Create has no workflow button either. They work on Windows and Linux. Nothing changed. Tell the user so in one sentence.'
const NOT_HERE = 'Error: workflows can only be installed in a chat where the user sees the confirmation card. Nothing changed.'